forked from d3cim/mobile_user.js
95 lines
3.7 KiB
Markdown
95 lines
3.7 KiB
Markdown
# user.js | Fennec F-Droid
|
||
|
||
I made this project to create something dedicated for Firefox for Android.
|
||
The `user.js` file is used to configure Firefox in the safest and fastest way possible.
|
||
To realize this project I was inspirated by various authors of `user.js` and I've implemented some preferences of mine.
|
||
|
||
|
||
|
||
## Aims:
|
||
|
||
* online security
|
||
* more privacy
|
||
* better performance
|
||
* less unique fingerprint possible
|
||
|
||
|
||
|
||
## Best Use:
|
||
|
||
This `user.js` has been designed for Mobile use and you can use on these browsers:
|
||
|
||
* [Fennec F-Droid](https://f-droid.org/en/packages/org.mozilla.fennec_fdroid/) - F-Droid
|
||
* [Firefox for Android](https://archive.mozilla.org/pub/mobile/releases/) - Mozilla Archive
|
||
* [Firefox for Android Beta](https://archive.mozilla.org/pub/mobile/releases/) - Mozilla Archive
|
||
|
||
|
||
## Note:
|
||
|
||
This file contains prefs. that are not native to the Android version of Firefox, but I have chosen to add them to avoid that in the future they can be implemented by Mozilla without we can realize it.
|
||
|
||
All this does not lead into stability issues.
|
||
|
||
|
||
|
||
## Installation:
|
||
|
||
### **ROOT METHOD 1** *(file manager)*
|
||
|
||
✳️ I would like to suggest the use of [Amaze](https://f-droid.org/en/packages/com.amaze.filemanager/) or [TWRP File Manager](https://twrp.me/Devices/) before proceed.
|
||
- Download and install Fennec F-Droid from the official [F-Droid client](https://f-droid.org/FDroid.apk) or from the official [F-Droid Website](https://f-droid.org/en/packages/org.mozilla.fennec_fdroid/)
|
||
- Start Fennec for the first time (offline mode/no data connections) and wait about 5 sec.
|
||
- Close Fennec.
|
||
- Clone or download zip file and extract it
|
||
- Locate Fennec's installation directory `data/data/org.mozilla.fennec_fdroid/files/mozilla/[xxxxxxx].default`
|
||
- Copy the extracted `user.js` file to the above installation directory.
|
||
- Delete `prefs.js` file inside the above directory
|
||
- Start Fennec F-Droid 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 Fennec F-Droid form the official [F-Droid client](https://f-droid.org/FDroid.apk) or from the official [F-Droid Website](https://f-droid.org/en/packages/org.mozilla.fennec_fdroid/)
|
||
- Download and install [User.js Updater](https://github.com/v1nc/user.js-updater/releases)
|
||
- Start Fennec for the first time (offline mode/no data connections) and wait about 5 sec.
|
||
- Close Fennec.
|
||
- Open `User.js Updater` app and grant storage permission.
|
||
- Tap `UPDATE` at the bottom and grant root permission.
|
||
- Start Fennec 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.
|
||
|
||
Thanks to [v1nc](https://github.com/v1nc/) for creating this app.
|
||
|
||
|
||
|
||
## Comparision:
|
||
|
||
You can also compare my `user.js` with the `user.js` from other authors [HERE](https://v1nc.github.io/comparison/).
|
||
|
||
|
||
|
||
## Contacts:
|
||
|
||
You can join [Fennec F-Droid | CHAT](https://t.me/qd_invitation) with Telegram for support or talk about privacy and security topics.
|
||
|
||
|
||
|
||
## Thanks:
|
||
|
||
I really thanks all the authors who inspired me:
|
||
|
||
* [gHacks](https://github.com/ghacksuserjs/ghacks-user.js)
|
||
* [Librefox Browser](https://github.com/intika/Librefox)
|
||
* [pyllyukko](https://github.com/pyllyukko/user.js)
|
||
* [OrangeManBad](https://git.nixnet.xyz/OrangeManBad/user.js) - (pyllyukko fork)
|
||
* [CHEF-KOCH](https://github.com/CHEF-KOCH/FFCK/tree/master/user.js)
|
||
|
||
|
||
## Special Thanks:
|
||
|
||
to all the members of my Telegram group who support me and give me motivation.
|