Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of run-a-script

run-a-script by mivanchev

A minimalistic Firefox extension that allows you to define one JS script which is injected into every page you visit. The addon's code is only a couple of lines long so you can easily verify what's going on.

5 (5 reviews)5 (5 reviews)
162 Users162 Users
You’ll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
About this extension
A Firefox extension that allows you to define exactly one JS script and inject it into every web page you visit. It uses Firefox' userScripts feature which sandboxes JS code before execution. You should be safe from even the most malicious of actors out there. For at least some convenience, jQuery is injected as well and usable from your script. The code of the extension is deliberately minimal, you are encouraged to review it for security before running the extension.

run-a-script is meant for people with trust issues. There are plenty of extensions out there that you could easily re-implement with a small JS snippet instead of installing. Also useful with uBlock Origin for defeating aggressive sites.

The plugin supports:
  • sandboxed injection of 1 script + jQuery into all pages, you need to refresh the opened ones
  • enabling / disabling the script

The plugin does NOT support:
  • Android – but working on it
  • Chrome – the whole idea of this extension is to be secure but that's irrelevant if your browser is a black box
  • saving to and loading from a file – saving would be useful but currently not possible due to a Firefox bug

See the homepage for a usage example.
Rated 5 by 5 reviewers
Sign in to rate this extension
There are no ratings yet

Star rating saved

5
5
4
0
3
0
2
0
1
0
Read all 5 reviews
Permissions and dataLearn more

Required permissions:

  • Access your data for all websites
More information
Add-on Links
  • Homepage
Version
1.0.2
Size
62.19 KB
Last updated
2 years ago (Nov 25, 2023)
Related Categories
  • Privacy & Security
License
GNU General Public License v3.0 only
Version History
  • See all versions
Add to collection
Report this add-on
Release notes for 1.0.2
Updated jQuery to 3.7.1.
More extensions by mivanchev
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla’s homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.