browserExitWarning

Hi Clifton,
I have 2 issues with this. If I remember correctly, I believe it used to do exactly what I wanted in both Chrome and Firefox i.e. replace the standard message with my custom message but in newer versions this is no longer possible. That's not the problem and anyway you specify that this is the case in your notes. Because browserExitWarning sends a trigger I decided to use that to show a field containing the custom warning.
I then made a test app. and dispcovered two problems:
1) browserExitWarning is not executed! I have tried putting it in an object to be executed on load page, executing it from the load page event of the page, using onFirstIdle to send it a click, user event or trigger but nothing works. The only way it can be executed is by the user actually clicking on it!?
2) If browserExitWarning has been executed, it does what I want in Firefox, Edge and IE but not in Chrome. This might be trickier for you to fix as it seems they don't want us to show our own messages!
I've put the 9.01 tbk here: https://www.mediacours.com/tb_examples/exit.zip
I also have another problem which I'll post in a different section.
John
I have 2 issues with this. If I remember correctly, I believe it used to do exactly what I wanted in both Chrome and Firefox i.e. replace the standard message with my custom message but in newer versions this is no longer possible. That's not the problem and anyway you specify that this is the case in your notes. Because browserExitWarning sends a trigger I decided to use that to show a field containing the custom warning.
I then made a test app. and dispcovered two problems:
1) browserExitWarning is not executed! I have tried putting it in an object to be executed on load page, executing it from the load page event of the page, using onFirstIdle to send it a click, user event or trigger but nothing works. The only way it can be executed is by the user actually clicking on it!?
2) If browserExitWarning has been executed, it does what I want in Firefox, Edge and IE but not in Chrome. This might be trickier for you to fix as it seems they don't want us to show our own messages!
I've put the 9.01 tbk here: https://www.mediacours.com/tb_examples/exit.zip
I also have another problem which I'll post in a different section.
John