javascriptgoogle-chromefirefoxgoogle-chrome-devtoolsfirefox-developer-tools

How to block a specified script in Firefox and Chrome


Is it possible to block the loading of a specified script (e.g. jquery) in Firefox and Chrome?

If not, is there an addon that can do this?


Solution

  • Go in Chrome Dev Tools -> Network and select JS then reload the page. You'll see all the scripts, you can right click on a script to block it.

    It's the same process in Firefox. Firefox Dev tools -> Network and select JS to find all scripts.