开发者

chrome extension shouldn't load (or block) scripts of the DOM

开发者 https://www.devze.com 2023-03-23 18:14 出处:网络
is it possible to block allof a website before they are loaded? I can remove allafter the DOM is done but events declared with these scripts are sti开发者_Python百科ll happening which I would like to

is it possible to block all of a website before they are loaded?

I can remove all after the DOM is done but events declared with these scripts are sti开发者_Python百科ll happening which I would like to prevent.

Thanks!


If you want to block a site's javascript wholesale, you can do that without any extensions. Go to Preferences -> Under the hood -> Content settings -> Javascript -> Manage exceptions. From there you can add a rule to block the site from running javascript.

0

精彩评论

暂无评论...
验证码 换一张
取 消