Hi,
Is there a way to block any alert javascript windows generated by an open url ?
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.
Block alerts
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Block alerts
Hi,
Use TChromium.OnJsdialog. Set suppressMessage to True and Result to False if you want to suppress the JS message.
Alternatively, the JSDialog demo (inside the JavaScript directory) shows how to use custom JavaScript windows.
Use TChromium.OnJsdialog. Set suppressMessage to True and Result to False if you want to suppress the JS message.
Alternatively, the JSDialog demo (inside the JavaScript directory) shows how to use custom JavaScript windows.