Can javascript be switched off on a site by site basis? Looked at documentation but couldn't find anything.
I have seen a few browsers offer it, but it doesn't work.
Ken
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.
Javascript per site
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Javascript per site
Hi,
BriskBard can disable JavaScript in the configuration window. Select the General tab and select "Disabled" in the Javascript option.
CEF4Delphi browsers can also disable JavaScript by setting TChromiumCore.Options.JavaScript to STATE_DISABLED.
WebView4Delphi browsers can disable JavaScript with the TWVBrowserBase.ScriptEnabled property.
BriskBard can disable JavaScript in the configuration window. Select the General tab and select "Disabled" in the Javascript option.
CEF4Delphi browsers can also disable JavaScript by setting TChromiumCore.Options.JavaScript to STATE_DISABLED.
WebView4Delphi browsers can disable JavaScript with the TWVBrowserBase.ScriptEnabled property.
Re: Javascript per site
Is that on a site-by-site basis? As in have JS on for one site but off for others?
If so, then I can't see how to
Ken
If so, then I can't see how to

Ken
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Javascript per site
No, sorry. BriskBard only has a global setting to disable JavaScript.
You can disable it whenever you want in your application if you use CEF4Delphi or WebView4Delphi.
You can disable it whenever you want in your application if you use CEF4Delphi or WebView4Delphi.