CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 82
Inline javascript might be executed first time page is loaded #35
Description
Test case:
https://acid3.acidtests.org/
This is probably due to the fact that chrome.contentSettings.javascript.set() is asynchronous, which means the preventing of inline javascript is not guaranteed to take effect before the page is processed/executed by the browser.
Until there is a fix (chromium developers might need to come up with something):
[Edit 2014-05-26: Some people are still using this entry as a reference. Since issue #35 has been fixed, the "workaround" below is no longer needed, it is has been rendered irrelevant with the fix.]
Workaround:
- Go to chrome/chromium "Settings".
- You might need to click "Show advanced settings".
- In "Privacy" section, click "Content settings..." button.
- In the "Javascript" section, click "Do not allow any site to run JavaScript".
HTTP Switchboard will continue to take care to enable javascript for whitelisted site.