disable-javascript icon indicating copy to clipboard operation
disable-javascript copied to clipboard

It doesn't allow to load js from other domains that are inside the page

Open arendina opened this issue 5 years ago • 2 comments

This behaviour happens if you set the Default state JS Off and Disable Behaviour by Domain. In this case, if the page tries to load some js from other sources, this sources will be blocked. To make the page work I should check the page and add the servers that own the javascript.

If I switch in the preferences to Disable Behaviour by Tab, it works.

I think that when you enable JS, all the JS in the page should start to work, not only the JS in that domain.

arendina avatar Jul 10 '19 09:07 arendina

If the default is "By Domain", the user should still be able to enable for the tab. This way, when this comes up occasionally, the user can make it work.

merarischroeder avatar Apr 09 '21 02:04 merarischroeder

If the default is "By Domain", the user should still be able to enable for the tab. This way, when this comes up occasionally, the user can make it work.

I can make it work this way. Anyway, I should be able to make it work even if I include each domain requested by the page in the whitelist. That does not seem to be the case at least for this page: https://codepen.io/Tickthokk/full/NBbKPZ/ (indeed, the console logs display that assets from cdnjs.cloudflare.com and from cpwebassets.codepen.io are blocked despite being correctly listed in my whitelist).

If I am supposed to change the "disable behaviour" back and forth each time I need those page work, I would like to see a shortcut to do that.

MarcoTrevisiol avatar Aug 29 '22 22:08 MarcoTrevisiol