How to block single js / javascript file in browser

Reading Time: 2 minutes


There are many plugin and extension, which can help you to block JS / javascript from browser. For one of my work, I was searching for solution to block single JS from a website, without blocking other JS / javascript files in the site. I was unable to locate a plugin or extension, which provide the solution. Most of the plugin and extensions were to block all JS / javascript files from a domain.

After so many try on different plugin and tool, finally I found a way to block single JS / javascript file.


Why would you want to stop single JS file in website.

Mostly of the validation are written in JS file, if we want to bypass the validation and access the content without issue. We would want to block that JS file, with the specific validation process.

How to Block Single JS File

  • Find identify the right JS, which is doing the validation process, using developer tools like inpsect element / firebug.
  • Install Adblock Plus for your browser. This plugin will block all the advertisement displayed in the website.
  • After Installing, Open Options in Adblock Plus.
  • Select ‘Add your own filters’ tab in options screen.
  • Enter the JS file complete URL in the text box and click ‘Add Filter’
  • Now go back to the website and refresh it, the particular JS file will be blocked and the validation process will be ignored.

Related Plugins:

[appbox chromewebstore cfhdojbkjhnklbpkdaibdccddilifddb]

[appbox firefoxaddon adblock-plus]

[appbox chromewebstore hcdjknjpbnhdoabbngpmfekaecnpajba]

[appbox firefoxaddon noscript]

This worked out for me, do leave your comments on this.


More Articles for You

Expose Your Brand in Storytelling – Pros and Cons of Essential Elements

Storytelling is a technique in which we try to connect the customers through some sort of emotions. It is widely …

4 Investment Options that’ll Help You Reach Zero -Tax Income Level

The Budget for the fiscal year 2019-20 announced on 1st February 2019, declared a full tax rebate for incomes up …

How to Generate Income during Retirement

Retirement is truly the golden period of your life. This is the time when you are finally free from all …

Painting with sparklers fireworks – Behind the lens

Painting a picture with the sparklers is very interesting and fun work. At the same time, it teaches you a …

Beginners guide to design creative posters for freelance business

A poster is an informative creative design concept. It a combination of brilliant idea with a great aesthetic which could …

What is bio polymer starch? Advantages of using starch

Biopolymers are a special class of polymers found in nature like starch, peptides or proteins. The biopolymers are natural, environment-friendly …