Disable JavaScript on Specific Sites using Firefox for Android and uBlock Origin


Sometimes, you want to stop scripts running only on specific domains. The best way to do that, I think, is with uBlock Origin - a free and fast ad-blocker.

On the desktop version, it's simple to block scripts. Click the plugin icon, then click the disable scripts button.

Desktop version of uBlock. There's a button to disable JS on a site.

But on mobile it's a little more complicated. Here's how to do it on the Android version of Firefox.

Install Firefox. Then open it and install the uBlock Origin extension for Android.

In Firefox, press the button and press "Settings":

The settings menu.

Press "Extensions": The word "Extensions" is highlighted.

In the list of Extensions is uBlock. Guess what? Press it!

uBlock is highlighted.

Press "Settings" The settings menu item is highlighted.

Finally! You come to a page with lots of complex options. I recommend putting your device in landscape mode. Along the top, scroll to "My Rules":

The my rules sub-page.

The "My Rules" allows you great power over your uBlock.

To block all JavaScript on example.com, type in this line:

no-scripting: example.com true

Then hit the save button.

You have now disabled JS from running on that specific site. Enjoy!


Share this post on…

  • Mastodon
  • Facebook
  • LinkedIn
  • BlueSky
  • Threads
  • Reddit
  • HackerNews
  • Lobsters
  • WhatsApp
  • Telegram

One thought on “Disable JavaScript on Specific Sites using Firefox for Android and uBlock Origin”

What are your reckons?

All comments are moderated and may not be published immediately. Your email address will not be published.

Allowed HTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <p> <pre> <br> <img src="" alt="" title="" srcset="">