Install userscripts on Firefox for Android - gHacks Tech News

Install userscripts on Firefox for Android

Unified Script Injector (usi) is a new Firefox add-on that has been designed to provide users of Firefox for Android with means to run userscripts.

While Firefox desktop users have some choice when it comes to adding userscript support to their browser, Greasemonkey and the newly released Tampermonkey come to mind, none of these option appear to work on Firefox for Android.

The new Firefox add-on usi changes that by adding support for a wide variety of usrescripts. The author notes on the official add-on page that the add-on supports some Greasemonkey functions but not all of them.

What this means is that you may encounter userscripts that don't work yet when you install them with the help of the browser extension.

Install userscripts on Firefox for Android

userscripts firefox for android

First thing you need to do is install usi. Visit the extension's AMO page and hit the "add to Firefox" button on it afterwards.

Confirm the dialog that appears to have Firefox install the add-on to make it available.

The easiest way to install userscripts afterwards is to load them directly in the browser. This is for instance the case when you visit Greasyfork, arguably the most popular script repository right now on the Web.

Simply select a script you like and click or tap on the "install this script" button afterwards. The script is loaded and its code is displayed on the page that opens.

The Firefox add-on picks it up automatically and displays an installation prompt to you. Confirm the prompt and the userscript gets installed on Firefox for Android.

You can do the same for local scripts that you want to add. Simply load them in Firefox and follow the installation instructions afterwards.

As noted earlier, you may run into scripts that won't work just yet. Another bug is that you cannot open the options directly to manage installed scripts. The add-on page on Mozilla AMO lists the resource URL that you need to open to access the preferences and management options.

manage userscripts android

There you find listed options to display all userscripts, create a new userscript, or load a userscript.

The options link provides you with three options right now:

  1. Delete all userscripts installed.
  2. Check for updates.
  3. Export all userscripts.

The add-on is updated frequently, at least twice each month but usually more often than that. While it may take a while before it offers full userscript support (and then some), it is already working well in its current state.

Summary
Install userscripts on Firefox for Android
Article Name
Install userscripts on Firefox for Android
Description
Unified Script Injector (usi) is a new Firefox add-on that has been designed to provide users of Firefox for Android with means to run userscripts.
Author
Publisher
Ghacks Technology News
Logo




  • We need your help

    Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

    We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:

    Comments

    1. Paul said on April 8, 2016 at 9:32 pm
      Reply

      Thanks, Martin.
      There is something like that for Stylish?

      1. Martin Brinkmann said on April 8, 2016 at 9:42 pm
        Reply

        Isn’t Stylish available as a mobile add-on?

    2. Paul said on April 10, 2016 at 1:54 am
      Reply

      Ops, my bad. Stylish is really already mobile.

    3. Dave said on April 10, 2016 at 8:46 pm
      Reply

      I can’t quite think why I’d want this on Android. Are some people productive on their Android devices? If so, what amazing apps do they have that I’m missing? Even adding two numbers in Excel on Android is a chore.

      1. Martin Brinkmann said on April 10, 2016 at 8:59 pm
        Reply

        Userscripts can be used for a variety of purposes, from blocking annoyances on websites you visit to adding features to them.

    4. xthanks said on March 22, 2017 at 2:06 am
      Reply

      Wow, thank you so much for this information. I’ve tried Tampermonkey for UC and Dolphin but they don’t work. This one works like a charm!

    5. Deb said on April 27, 2017 at 6:14 am
      Reply

      Thanks so much for sharing this!!! Really helpful for my android tablet :)

    6. premier69 said on July 14, 2017 at 7:56 pm
      Reply

      oh man thanks, have been looking for this for so long!

    7. v1adimir said on October 23, 2017 at 12:04 am
      Reply

      “The add-on page on Mozilla AMO lists the resource URL that you need to open to access the preferences and management options.”

      Nope!..:) But, it’s available @

      resource://firefox-addon-usi-at-jetpack/data/options.html

    8. Chris said on November 8, 2017 at 1:52 pm
      Reply

      I’ve just tried Tampermonkey with Firefox Nightly (FOR ANDROID) for the first time. So, it looks like we will continue to have more options for this as the webextensions ecosystem continues to develop?
      There’s also a browser described at oilcan.jsharkey.org although I haven’t tried that.

      Tampermonkey’s control panel feels really heavy on my phone (with like 100 userscripts installed through TESLA) but otherwise I’m really happy to report that it also works now. (A year after the article was written)

      Thanks for great article! I’d never heard of usi before I read it.

    Leave a Reply