Javascript Toggle On and Off Toggle JavaScript on and off, the easy way
Support Development
PayPal ● 
Bitcoin Address: 1sM2BrTH8BRgt3quiASK8TmYSafutNvDo
Dogecoin Address: DFdSGpGMZ2EZVkjyqNrYCEysK92DFPonx4
"Javascript Toggle On and Off" uses a bulletproof method to turn JavaScript execution of the entire browser on and off simply through a toolbar button. When the add-on is enabled, JavaScript will be denied in both normal and private (incognito) modes. To allow JavaScript temporary, just click the toolbar button once more.


  1. What is JavaScript Toggle On and Off extension and how does it work?

    JavaScript Toggle On and Off aims to provide an easy method to toggle JavaScript on and off with minimum possible interference with browser activities. There are many other extensions of the same kind, but usually either they are very complex or they cannot block JavaScript reliably. This add-on changes "Content-Security-Policy" of "main_frame" and "sub_frame" requests to prevent JavaScript execution of both inline and external sources in web pages.

  2. recommended "Sound Level Meter" extension for Chrome, Firefox, and Edge browsers

    A browser extension to measure environmental noise level in decibels (dB) useful to identify adverse background noises or to see how quiet the place is. Read more here.

  3. Why do I need to sometimes turn off JavaScript execution in my browser?

    There is a very good article on how JavaScript execution might compromise your privacy which I recommend to read;

  4. Is JavaScript Toggle On and Off working on the private (incognito) browsing mode?

    Yes, the web request observer is installed on top of the browser and can block both normal and private mode tabs. Note that you will need to refresh a tab if it has already been loaded before blockage is enabled in order to attach the policy rules to stop the execution of JavaScript codes.

  5. When the extension is in disabled mode (no JavaScript blockage), is it still using browser's resources?

    Pretty much no. The extension uninstalls all its observers when the blockage mode is off and hence it has the minimum possible impact on your browsing experience.

  6. Is it possible to change the location of the toolbar button as I am not frequently using the extension?

    Yes, read a Comprehensive Guide to Firefox Customization to find out how to change the toolbar button's position. If you are not using the extension too much, you can also try my the other extension to completely disabling this one when it is not neccessary, Add-on Manager with Profiler. Basically you can create multiple profiles and enable and disable certain extensions within a profile.

  7. How can I make sure if JavaScript execution is completely blocked when the extension is enabled?

    There is an online service you can use to make sure JavaScript is enabled or not; Make sure to try this service on both private and normal modes.

  8. The extension icon is not appearing in the incognito mode in Chrome and Opera browsers. Is this an expected behavior?

    Well, in Chrome based browsers, extensions are not allowed in the incognito mode by default. Open "chrome://extensions/" and check "Allow in incognito" and you will notice the icon appearance in the private windows. Also blockage will automatically applies to the private mode as soon as the icon is present.

  9. Can I white-list a domain to allow JavaScript execution even when it is forbidden by the extension?

    As of version 0.1.6, you can add domains for white-listing. The domains that are listed in the options page will still allow JavaScript execution even when it is globally forbidden.

    For Firefox version, white-listing is not available unless you are on the WebExtension version of this add-on.

  10. In Firefox browser, there is a flag called javascript.enabled. Does this extension alter this flag to disable the browser's JavaScript engine?

    There are two versions of this extension. In the WebExtension compatible version, there is no interaction with the internal preferences (there is actually no way to interact with them!). To block JavaScript engine, the extension manipulates policy rules of the top request so that no JS code can be executed (it will violate the policy rule). Note that turning javascript.enabled off from the "about:config" may result in a different visual appearance compared to when this extension blocks the JS execution. In the former method, website is aware that there is no JS access and hence it might redirect user to the HTML only version of the page, however in the latter method, there is no signal for the server to know that JS is not supported and hence normal page is loaded but JS code is not being executed.

Matched Content


Please keep reviews clean, avoid the use of improper language and do not post any personal information.
  • <a> Defines an anchor.

    Example: <a href="">a sample link</a>

  • <pre><code> Syntax Highlighting (Supported languages: Bash, JSON, HTML, JavaScript, and CSS).

    Example: <pre><code class="javascript">var foo = 'bar';</code></pre>

  • <strong> Defines bold text
  • <blockquote> Defines a long quotation
  • <caption> Defines a table caption
  • <cite> Defines a citation
  • <em> Defines italic text
  • <p> Defines a paragraph
  • <span> Defines a section in a document
  • <s> Defines strikethrough text
  • <strike> Defines strikethrough text
  • <u> Defines underlined text
  • <br> Defines a single line break; can be used alone and don't need an ending tag

What's new in this version

Change Logs:
    Last 10 commits on GitHub
    Hover over a node to see more details

    Need help?

    If you have questions about the extension, or ideas on how to improve it, please post them on the  support site. Don't forget to search through the bug reports first as most likely your question/bug report has already been reported or there is a workaround posted for it.

    Open IssuesIssuesForks

    Editorial Review

    One of the most used and widespread sources of creating interactive web pages is JavaScript. Most website operators use JavaScript to add the functionality, they need to make their websites intriguing. In the past, not more than a few years ago, most people used HTML to create their websites. However, JavaScript was introduced with the purpose to make websites even more compelling. This provided an edge to the digital businessmen to gain an edge over most of their competitors. As we know, that having a website is one of the most important things for a business these days. Hence, the use of JavaScript has become even more popular in recent years. As a versatile and simple client-site scripting language, this coding method helps most web programmers to make their websites more interactive. However, most people must have come across a pop-up about JavaScript, when they are surfing the INTERNET. This is very frustrating for people who like to surf on different pages at a time. In such cases, JavaScript Toggle On and Off comes to play.

    JavaScript Toggle On and Off is an easy-to-use and interactive add-on, which helps users to enable or disable JavaScript, whenever needed. This extension allows to user to easily access their JavaScript status, and turn it on or off, according to the demand of the users. JavaScript Toggle On and Off is easily accessible, from the toolbar of your browser, and can be turned on or off, with the click of a button. On top of that, this extension works on both, normal as well as incognito mode. This extension does not hurdle the functionality of another add-on, of the same type. Above all, the JavaScript Toggle On and Off is very lightweight and does not take much space.

    I would recommend this add-on to everyone, especially people who are looking for an easier way to have control over websites.

    Recent Blog Posts on