user.js file for configuring Firefox Fenix Nightly, Iceraven Fennec and Mull privacy, security and anti-fingerprinting.
Go to file
Narsil 24cf3c0434 Update 'user.js' 2021-04-02 09:15:12 -04:00
Deprecated Upload files to 'Deprecated' 2021-04-02 09:01:23 -04:00
LICENSE.txt GNU General Public License v3.0 2020-09-21 17:24:31 -04:00
README.md Update 'README.md' 2021-04-02 09:05:50 -04:00
user.js Update 'user.js' 2021-04-02 09:15:12 -04:00

README.md

user.js | Firefox Fenix Nightly, Iceraven, Fennec F-Droid

The user.js file is used to configure Firefox for android in the safest and fastest way possible.

Goals:

  • enhance security and privacy
  • improve performance
  • better fingerprint possible
  • reduce automatic connections

Compatible browsers:

This user.js has been designed for mobile purposes and you can use it on these browsers:

If you are running IcecatMobile or old Fennec (version 68) use Quindecim user.js instead.

How to install:

ROOT METHOD 1 (file manager)

I would like to suggest the use of Simple File Manager Pro, Material Files or TWRP File Manager before proceed.

  • Download and install Firefox Fenix Nightly, Iceraven, Fennec F-Droid or Icecatmobile from their official websites (see above)

  • Start the browser for the first time (offline mode/no data connections) and wait about 5 sec.

  • Close it.

  • Clone or download zip file and extract it

  • Locate browser's installation directory similar to this:

    ✳️ Firefox Fenix Nightly data/data/org.mozilla.fenix/files/mozilla/[xxxxxxx].default

    ✳️ Iceraven data/data/io.github.forkmaintainers.iceraven/files/mozilla/[xxxxxxx].default

    ✳️ Fennec F-Droid data/data/org.mozilla.fennec_froid/files/mozilla/[xxxxxxx].default

  • Copy the extracted user.js file to the above installation directory.

  • Delete prefs.js file inside the above directory

  • Start the browser and test if user.js was applied : browse to about:config (put it in search bar) and look if config.applied is true.

If this doesn't work I suggest you to use the ROOT METHOD 2 below.

ROOT METHOD 2 (app)

  • Download and install the browser from their official websites.

  • Download and install User.js Updater

  • Start the browser for the first time (offline mode/no data connections) and wait about 5 sec.

  • Close it.

  • Open User.js Updater app and grant storage permission.

  • Choose Custom and write the following:

    https://git.nixnet.xyz/Narsil/mobile_user.js/src/branch/master/user.js

  • Tap UPDATE at the bottom and grant root permission.

  • Start the browser and test if user.js was applied : browse to about:config (put it in search bar) and look if config.applied is true.

  • AFWall+ USERS: You can disable Use Download Manager option into Settings and enable data connection just to the app itself.

NON ROOT METHOD

Have a look at Non-Rooted guide from Arkenfox:

Firefox Android

Considerations

Some automatic connections could not be blocked so you will have to add them to your host list (root required)

firefox.settings.services.mozilla.com

https://bugzilla.mozilla.org/show_bug.cgi?id=1598562#c13

safebrowsing.googleapis.com, safebrowsing.google.com, malware-error.mozilla.com, phish-error.mozilla.com and developers.google.com (safebrowsing is active and not changeable)

https://github.com/mozilla-mobile/fenix/issues/14163

Thanks

I really thank the following authors:

  • Arkenfox - The majority of this user.js.
  • Quindecim - Initial releases and unique strings.
  • gallegonovato - For his suggestions and support.
  • v1nc - For his user.js updater app.

License

GNU General Public License v3.0.

See LICENSE for more details.

Other mirrors

https://gitlab.com/Jorgu81/user.js/tree/master/Mobile