run-a-script

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.

run-a-script: Inject JS script into every webpage

"run-a-script" is a minimalistic Firefox extension that enables you to inject a JS script into every web page you visit. It provides security and the ability to review the code.

Add-on stats

By: mivanchev
Daily users: 193
5
Rating: 5.00
(4)
Version: 1.0.2 (Last updated: 2023-11-25)
Version code: 5655860
Creation date: 2022-03-22
Weekly download count: 19
Firefox on Android: No
Manifest version: 2
Permissions:
  • storage
  • <all_urls>
Size: 63.68K

Other platforms

Not available on Chrome
Not available on Android
Not available on Edge
Want to check extension ranking and stats more quickly for other Firefox add-ons? Install Chrome-Stats extension to view Firefox-Stats data as you browse the Firefox Browser Add-ons.

Add-on summary

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.

User reviews


jQuery for the motherfuckin win
by HomerSETH9, 2023-12-17
View all user reviews

Add-on safety

Risk impact

run-a-script requires a few sensitive permissions. Exercise caution before installing.

Risk impact analysis details
  • Critical Allows access to all websites, posing a significant security risk as it can monitor and modify data from any visited site.
  • Low ******* ****** ** *** ********* ********
Risk likelihood

We don't have sufficient data to confidently determine the risk likelihood of run-a-script. Use it at your own risk.

Risk likelihood analysis details
  • High This extension has low user count. Unpopular extensions may not be stable or safe.
  • Low **** ********* *** ******* **** **** * ****** **** ***** ******** *** **** ****** ** ** ****** *** *****
  • Low **** ********* *** ***** **** **** * ****** **** ***** ********** *** **** ****** ** ** ****** *** *****
  • Good **** ********* *** **** **** *******
Upgrade to see full risk analysis details