07-18-2019, 01:26 AM
(This post was last modified: 07-18-2019, 01:31 AM by Alexandre Machado.)
>And it does NOT work if the user changes the URL.
You don't expect IntraWeb to trap your user forever inside your application even if he/she changes the URL, right?
This is not how web is supposed to work and it won't ever work like that (thankfully!). Browsers will make sure that end user actions will prevail, doesn't matter what tricks you have in your JavaScript bag...
What your competitor has is probably an onbeforeunload event which detects that your page is about to be unloaded and shows a message. It is *terribly* annoying for end users. Imagine if each page you visit asked you "Are you sure that you want to move away from this wonderful web site?"....
anyway, implementing that "feature" is up to the web developer.
You don't expect IntraWeb to trap your user forever inside your application even if he/she changes the URL, right?
This is not how web is supposed to work and it won't ever work like that (thankfully!). Browsers will make sure that end user actions will prevail, doesn't matter what tricks you have in your JavaScript bag...
What your competitor has is probably an onbeforeunload event which detects that your page is about to be unloaded and shows a message. It is *terribly* annoying for end users. Imagine if each page you visit asked you "Are you sure that you want to move away from this wonderful web site?"....
anyway, implementing that "feature" is up to the web developer.

