Hello,
How can i totally suppress this kind of alert / confirmations, so it will never show up ?
Thanks
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Supress JS dialogs
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Supress JS dialogs
You do not have the required permissions to view the files attached to this post.
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Supress JS dialogs
Yes you can.
Use the TChromium.OnBeforeUnloadDialog event and set the "Result" parameter to TRUE.
Read this for more information about that event :
https://magpcss.org/ceforum/apidocs3/pr ... ndler.html
Use the TChromium.OnBeforeUnloadDialog event and set the "Result" parameter to TRUE.
Read this for more information about that event :
https://magpcss.org/ceforum/apidocs3/pr ... ndler.html
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: Supress JS dialogs
Great, thank you very much ! 
