Disable JavaScript on any site in one click

Latest Version

Version
2.2.0
Update
November 13, 2024
Size
203KiB
Developer
www.maximelebreton.com
Category
Users
200,000+
Rating
4.31468 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Tabs
ContentSettings
ContextMenus
Storage
See more

Quick Javascript Switcher Extension

Quick JavaScript Switcher is a simple Chrome extension that lets you enable or disable JavaScript on a per-site basis (domain or subdomain) with a single click.

Example: You can disable JavaScript on 'https://google.com' but keep it enabled on 'https://mail.google.com'

Please consider to support my work by making a donation 💖:
https://donate.stripe.com/14k03Dcbca0XaGY3cn

QJS is an open source Chrome extension coded by Maxime Le Breton.
As a solo developer, your support means a lot and helps maintain the project

__________________________________

Quick JavaScript Switcher is a useful tool for web developers to test site behavior without JavaScript and ensure graceful degradation. SEO specialists can simulate how non-JavaScript search engines view a page, helping identify indexing issues. It’s also valuable for privacy-focused users and accessibility testers to assess a site’s functionality without JavaScript, and for quickly comparing page load speeds with and without dynamic elements.

Works with any URL scheme, including domains, subdomains, IP addresses, localhost, and local .html files!

Note: The Pause/Resume feature has been temporary disabled since 2.1 because too many users complained about the required 'debugger' permission.

__________________________________

Works with Chrome 88+
(for Chrome <88, use the v1 version)

Permissions:
A detailed topic about why QJS need them (TLDR: didn't have choice for good UX):
https://github.com/maximelebreton/quick-javascript-switcher/issues/74

Troubleshooting with v2:
Some users experience issues with the v2 update, which can often be resolved by uninstalling and reinstalling the extension. I apologize for this inconvenience.
__________________________________

/* Log info */
2.2.0
=====
- Fix toggle problem due to existing rules from v1 version
- Fix problem with ip adresses

2.1.0
=====
- Play/pause js feature has been removed because it requires a new permission (debugger), and many users complain about this new permission
- Fix bug with localhost and ip adresses
- Allow/block/clear behaviour is back

2.0.2
=====
Fix bug with toggle when trying to clear rule, now it's the classic allow/block behaviour, instead of allow/block/clear

2.0.1
=====
Fix bug with old rules, conflicted with new rules (so the click on the icon doesn't toggle)

2.0.0 (Major version, compatible with Chrome 88+)
=====
- Based on new Chrome security policies (manifest v3)
- New icon design
- [new] Allow / block by domain or subdomain
- [new] Pause JS without refreshing!
- [new] Options panel to edit rules
And many other improvments

1.4.12
=====
Fix bug with chrome 91+: https://github.com/maximelebreton/quick-javascript-switcher/issues/45

1.4.4
=====
Small fixes and promotion for the next release! (Kickstarter crowdfunding)

1.4.1
====
Implement a hack to fix this chrome issue in incognito mode:
https://code.google.com/p/chromium/issues/detail?id=494501

1.4.0
====
Add synchronized options
fix some bugs

1.3.2
====
Custom Shortcut added (you need to edit manualy in tools > extensions > keyboard shortcuts (in the bottom right))

1.3.0
====
- Donation added (in Options)

1.2.0
====
- Many Fixes
- Way to import / export rules
- Fix incognito mode

1.1.0
====
Auto-refresh added & options page improved
(auto-refresh can be disabled trough the options page)

1.0.8
====
Fix background_page error in manifest v2

1.0.7
====
Update to manifest version 2

1.0.6
====
Icon modification for accessibility of red/green color deficients
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Quick Javascript Switcher", "description": "Disable JavaScript on any site in one click", "version": "2.2.0", "minimum_chrome_version": "88.0", "homepage_url": "https://github.com/maximelebreton/quick-javascript-switcher", "permissions": [ "tabs", "contentSettings", "contextMenus", "storage" ], "incognito": "spanning", "background": { "service_worker": "service-worker.js" }, "icons": { "16": "icons/logo-16.png", "48": "icons/logo-48.png", "128": "icons/logo-128.png", "256": "icons/logo-256.png" }, "action": { "default_icon": "icons/[email protected]" }, "options_ui": { "page": "options.html" }, "options_page": "options.html", "content_security_policy": { "extension_pages": "script-src 'self'; object-src 'self'" }, "commands": { "handle-qjs-action": { "suggested_key": { "default": "Alt+Shift+Q", "windows": "Alt+Shift+Q", "mac": "Alt+Shift+Q" }, "description": "Enable / disable JavaScript" } }}
Read more

How to download and manually install Quick Javascript Switcher extension for Chrome

Looking for a way to install Quick Javascript Switcher extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Quick Javascript Switcher extensions manually, this article outlines two simple methods to effortlessly install Quick Javascript Switcher extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Quick Javascript Switcher extension and manually install through Drag &Drop

If you ever need to manually install a Quick Javascript Switcher extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Quick Javascript Switcher Extension by clicking the "Download CRX" button on the website.

Look for the Quick Javascript Switcher extension you wish to install. Go to the website and download the Quick Javascript Switcher extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Quick Javascript Switcher extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Quick Javascript Switcher extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Quick Javascript Switcher extension for Chrome and install in Developer Mode

This is another method to install Quick Javascript Switcher extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Quick Javascript Switcher extension file

Select and download the Quick Javascript Switcher extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Quick Javascript Switcher extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Quick Javascript Switcher extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Quick Javascript Switcher extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Quick Javascript Switcher extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Toggle JavaScript Extension · Developer Tools 200,000+ 183 ★ 24.5KiB

icon

Run Javascript Extension · Developer Tools 200,000+ 46 ★ 2.18MiB

icon

ScriptBlock Extension · Productivity 200,000+ 445 ★ 161KiB

icon

JavaScript Switch ON|OFF Extension · Productivity 200,000+ 7 ★ 38.73KiB

icon

User JavaScript and CSS Extension · Developer Tools 200,000+ 564 ★ 1.62MiB

icon

disable-HTML Extension · Developer Tools 200,000+ 51 ★ 21.64KiB

icon

New TongWenTang Extension · Productivity 200,000+ 574 ★ 255KiB

icon

Enable JavaScript Extension · Productivity 200,000+ 6 ★ 197KiB

icon

Redirect Path Extension · Developer Tools 200,000+ 194 ★ 6.06MiB

icon

ScriptSafe Extension · Productivity 200,000+ 1720 ★ 751KiB

icon

JavaScript Toggle On and Off Extension · Productivity 200,000+ 21 ★ 89.35KiB

icon

View Rendered Source Extension · Developer Tools 200,000+ 37 ★ 73.68KiB

icon

User CSS Extension · Developer Tools 200,000+ 264 ★ 298KiB

icon

Content Farm Blocker Extension · Social & Communication 200,000+ 377 ★ 48.26KiB

icon

User-Agent Switcher Extension · Developer Tools 200,000+ 361 ★ 24.68KiB

icon

Images ON/OFF Extension · Developer Tools 200,000+ 103 ★ 51.73KiB

icon

Hreflang Tag Checker Extension · Productivity 200,000+ 14 ★ 32.95KiB

icon

Custom JavaScript for Websites 2 Extension · Developer Tools 200,000+ 129 ★ 588KiB

icon

JavaScript-Java Bridge Extension · Developer Tools 200,000+ 2 ★ 23.32KiB

icon

Validity Extension · Developer Tools 200,000+ 210 ★ 108KiB

icon

JustBlock Security Extension · Productivity 200,000+ 2581 ★ 1.36MiB

icon

Enable right click Extension · Developer Tools 200,000+ 551 ★ 246KiB

icon

Swoosh Cookie and Local Storage Specialist Extension · Developer Tools 200,000+ 121 ★ 720KiB

icon

Stylebot Extension · Accessibility 200,000+ 1603 ★ 10.27MiB

User reviews

icon

Ralph Capper (ID: 0000008f9fa7afff) Voted 1 ★ - Updated 11/20/2024 I'm sure this used to toggle on/off without refreshing the page, but now it trigegrs a refresh and is completely pointless for development purposes.

icon

Qasim Abdullah (ID: 000000ef4cf7304f) Voted 1 ★ - Updated 10/21/2024 I use it to counter the "Disable Adblock to read content" websites, simply turn off JavaScript for that site, and that's it, you don't need to disable Adblock, this is the first ever extension that I've bothered to rate and leave a review. Good job! Edit: Changed rating from 5 stars to 1 star looking at the updated permission requirement. Unacceptable.

icon

Jordan (ID: 00000053fa063feb) Voted 5 ★ - Updated 06/17/2023 As long as it works it's great

icon

Kerry O'Connor (ID: 0000006db8ab5fb5) Voted 3 ★ - Updated 01/20/2023 works well but it seems to inject an invisible div by id "sukan" on every page, and I can't figure out why, or how it's doing it by looking at the source code, which sketches me out a bit.

icon

Yorick C (ID: 000000340ad79237) Voted 5 ★ - Updated 11/20/2022 Finally one with a shortcut so I can use it in Pop-ups!