1
0
mirror of https://github.com/arkenfox/user.js.git synced 2026-06-16 01:12:52 +05:30

Compare commits

...

34 Commits

Author SHA1 Message Date
Thorin-Oakenpants 1a9e0bb6dc v151
@tomrittervg added a link to your blog about telemetry
2026-06-02 02:01:57 +00:00
Thorin-Oakenpants 8fe9905c35 Update README.md 2026-05-12 16:58:55 +00:00
Thorin-Oakenpants bb45863be7 v144 (#1992) 2026-04-20 20:20:53 +00:00
Thorin-Oakenpants 0f14e030b3 v140.1 (#2013) 2025-11-03 00:52:16 +00:00
Thorin-Oakenpants 9103afafff deprecated FF140 2025-08-13 18:29:19 +00:00
Thorin-Oakenpants 9e8ead84c8 v140 (#1945) 2025-08-13 18:27:04 +00:00
Thorin-Oakenpants 7f852e94fc media.ondevicechange.enabled 2025-04-21 15:04:04 +00:00
Thorin-Oakenpants 3d76c74c80 v135 (#1929) 2025-03-06 02:52:08 +00:00
Thorin-Oakenpants 9bba5788aa legacy sanitizing prefs
In FF128 these were used to migrate to
- clearOnShutdown to clearOnShutdown_v2
- cpd to clearHistory

They are then no longer used.

The migration can be checked with
- privacy.sanitize.clearOnShutdown.hasMigratedToNewPrefs2
- privacy.sanitize.cpd.hasMigratedToNewPrefs2

Note: in FF136 there was another migration, where it changes the `ToNewPrefs2` to false
- privacy.sanitize.clearOnShutdown.hasMigratedToNewPrefs3
- privacy.sanitize.cpd.hasMigratedToNewPrefs3

AFAICT, cpd.hasMigrated* doesn't migrate until you open the clear history dialog.
2025-03-05 07:21:39 +00:00
Thorin-Oakenpants c25187332e fix the year 2025-01-12 19:02:07 +00:00
Thorin-Oakenpants 80fa110f49 dom.securecontext.allowlist_onions 2025-01-12 19:01:32 +00:00
Thorin-Oakenpants b8f18a3d91 v133 (#1892) 2025-01-12 15:49:26 +00:00
Mizuki Nguyen eae5762d29 Add missing -command argument in powershell call (#1909)
* updater: add missing PowerShell argument

* prefcleaner: add missing PowerShell argument
2024-11-09 12:55:49 +00:00
Thorin-Oakenpants c6cfa10c0b webchannel.allowObject.urlWhitelist 2024-11-07 09:50:47 +00:00
Thorin-Oakenpants bc6a2ba145 network.http.referer.hideOnionSource
since it was flipped to true for TB, not much point keeping it
2024-11-06 15:24:03 +00:00
Thorin-Oakenpants f906f7f3b4 v128 (#1862) 2024-08-26 08:41:28 +00:00
Thorin-Oakenpants 11582f905a geo.provider.use_gpsd
https://bugzilla.mozilla.org/show_bug.cgi?id=1803234 - removed in FF131

and it doesn't work: https://bugzilla.mozilla.org/show_bug.cgi?id=1763347
2024-08-06 04:37:00 +00:00
Thorin-Oakenpants ff5c959cb9 geo.provider* 2024-07-09 05:49:23 +00:00
Thorin-Oakenpants 23caf69614 v127 deprecated 2024-06-22 15:44:54 +00:00
Thorin-Oakenpants 6446d73cf5 add deprecated since FF119 2024-06-14 06:14:26 +00:00
Thorin-Oakenpants 47cbf5b974 fixup sysntax, tidy 2024-06-07 21:36:53 +00:00
eleius 9655743d8c fixup missing semicolon (#1850) 2024-06-07 20:53:34 +00:00
Thorin-Oakenpants c2f191448c v126 (#1816) 2024-06-06 20:21:14 +00:00
Thorin-Oakenpants 33a84b608c v122 (#1764) 2024-02-04 20:09:30 +00:00
earthlng 4a510a4b4c prefsCleaner.sh v2.1
- remove group root/wheel check
2023-11-24 13:38:25 +00:00
earthlng e4dd5aa428 updater.sh v4.0
- removed group root/wheel check
2023-11-24 13:35:14 +00:00
Thorin-Oakenpants fd72683abe v119 (#1757) 2023-11-20 02:49:16 +00:00
Thorin-Oakenpants f95c6829fe fixup date/reference 2023-11-19 09:56:47 +00:00
Tiagoquix fc25163763 Correct archived version link in arkenfox-cleanup.js (#1763) 2023-11-10 23:52:23 +00:00
Thorin-Oakenpants 29bb5a35f0 rename/add icons (#1760) 2023-11-02 21:17:15 +00:00
Thorin-Oakenpants 96210522d8 Add favicon for LibreWolf 2023-11-02 20:36:12 +00:00
Tad d94d68245f Add favicon for Mull
Signed-off-by: Tad <tad@spotco.us>
2023-11-02 16:18:47 -04:00
Thorin-Oakenpants e2681baec3 javascript.use_us_english_locale
https://bugzilla.mozilla.org/1846224
2023-11-01 22:02:55 +00:00
Thorin-Oakenpants 35e8def0b1 network.dns.skipTRR-when-parental-control-enabled 2023-10-18 14:59:33 +00:00
11 changed files with 421 additions and 328 deletions
+2
View File
@@ -1,3 +1,5 @@
This repo and the interative webpage linked below are the **_only official sources_** - do not trust any other sites claiming to be Arkenfox
### 🟪 user.js ### 🟪 user.js
A `user.js` is a configuration file that can control Firefox settings - for a more technical breakdown and explanation, you can read more in the [wiki](https://github.com/arkenfox/user.js/wiki/2.1-User.js) A `user.js` is a configuration file that can control Firefox settings - for a more technical breakdown and explanation, you can read more in the [wiki](https://github.com/arkenfox/user.js/wiki/2.1-User.js)
+3 -3
View File
@@ -3,7 +3,7 @@ TITLE prefs.js cleaner
REM ### prefs.js cleaner for Windows REM ### prefs.js cleaner for Windows
REM ## author: @claustromaniac REM ## author: @claustromaniac
REM ## version: 2.7 REM ## version: 2.8
CD /D "%~dp0" CD /D "%~dp0"
@@ -15,7 +15,7 @@ ECHO:
ECHO ######################################## ECHO ########################################
ECHO #### prefs.js cleaner for Windows #### ECHO #### prefs.js cleaner for Windows ####
ECHO #### by claustromaniac #### ECHO #### by claustromaniac ####
ECHO #### v2.7 #### ECHO #### v2.8 ####
ECHO ######################################## ECHO ########################################
ECHO: ECHO:
CALL :message "This script should be run from your Firefox profile directory." CALL :message "This script should be run from your Firefox profile directory."
@@ -37,7 +37,7 @@ CALL :strlenCheck
CALL :FFcheck CALL :FFcheck
CALL :message "Backing up prefs.js..." CALL :message "Backing up prefs.js..."
FOR /F "delims=" %%# IN ('powershell get-date -format "{yyyyMMdd_HHmmss}"') DO @SET ldt=%%# FOR /F "delims=" %%# IN ('powershell -command get-date -format "{yyyyMMdd_HHmmss}"') DO @SET ldt=%%#
COPY /B /V /Y prefs.js "prefs-backup-%ldt%.js" COPY /B /V /Y prefs.js "prefs-backup-%ldt%.js"
CALL :message "Cleaning prefs.js..." CALL :message "Cleaning prefs.js..."
+5 -5
View File
@@ -2,7 +2,7 @@
## prefs.js cleaner for Linux/Mac ## prefs.js cleaner for Linux/Mac
## author: @claustromaniac ## author: @claustromaniac
## version: 2.0 ## version: 2.1
## special thanks to @overdodactyl and @earthlng for a few snippets that I stol..*cough* borrowed from the updater.sh ## special thanks to @overdodactyl and @earthlng for a few snippets that I stol..*cough* borrowed from the updater.sh
@@ -132,13 +132,13 @@ done
## change directory to the Firefox profile directory ## change directory to the Firefox profile directory
cd "$(dirname "${SCRIPT_FILE}")" cd "$(dirname "${SCRIPT_FILE}")"
# Check if running as root and if any files have the owner/group as root/wheel. # Check if running as root and if any files have the owner as root/wheel.
if [ "${EUID:-"$(id -u)"}" -eq 0 ]; then if [ "${EUID:-"$(id -u)"}" -eq 0 ]; then
fQuit 1 "You shouldn't run this with elevated privileges (such as with doas/sudo)." fQuit 1 "You shouldn't run this with elevated privileges (such as with doas/sudo)."
elif [ -n "$(find ./ -user 0 -o -group 0)" ]; then elif [ -n "$(find ./ -user 0)" ]; then
printf 'It looks like this script was previously run with elevated privileges, printf 'It looks like this script was previously run with elevated privileges,
you will need to change ownership of the following files to your user:\n' you will need to change ownership of the following files to your user:\n'
find . -user 0 -o -group 0 find . -user 0
fQuit 1 fQuit 1
fi fi
@@ -148,7 +148,7 @@ echo -e "\n\n"
echo " ╔══════════════════════════╗" echo " ╔══════════════════════════╗"
echo " ║ prefs.js cleaner ║" echo " ║ prefs.js cleaner ║"
echo " ║ by claustromaniac ║" echo " ║ by claustromaniac ║"
echo " ║ v2.0 ║" echo " ║ v2.1 ║"
echo " ╚══════════════════════════╝" echo " ╚══════════════════════════╝"
echo -e "\nThis script should be run from your Firefox profile directory.\n" echo -e "\nThis script should be run from your Firefox profile directory.\n"
echo "It will remove any entries from prefs.js that also exist in user.js." echo "It will remove any entries from prefs.js that also exist in user.js."
+42 -3
View File
@@ -3,10 +3,10 @@
- removed from the arkenfox user.js - removed from the arkenfox user.js
- deprecated by Mozilla but listed in the arkenfox user.js in the past - deprecated by Mozilla but listed in the arkenfox user.js in the past
There is an archived version at https://github.com/arkenfox/user.js/issues/1080 There is an archived version at https://github.com/arkenfox/user.js/issues/123
if you want the full list prior to FF118 if you want the full list since jesus
Last updated: 29-September-2023 Last updated: 19-December-2025
Instructions: Instructions:
- [optional] close Firefox and backup your profile - [optional] close Firefox and backup your profile
@@ -35,14 +35,28 @@
const aPREFS = [ const aPREFS = [
/* DEPRECATED */ /* DEPRECATED */
/* 141-153 */
'network.predictor.enabled', // 148
'network.predictor.enable-prefetch', // 148
/* 129-140 */
'browser.shopping.experience2023.enabled', // 140
'browser.urlbar.pocket.featureGate', // 140
'media.ondevicechange.enabled', // 137
'webchannel.allowObject.urlWhitelist', // 132
/* 116-128 */ /* 116-128 */
'browser.contentanalysis.default_allow', // 127
'browser.messaging-system.whatsNewPanel.enabled', // 126
'browser.ping-centre.telemetry', // 123
'dom.webnotifications.serviceworker.enabled', // 117 'dom.webnotifications.serviceworker.enabled', // 117
'javascript.use_us_english_locale', // 119
'layout.css.font-visibility.private', // 118 'layout.css.font-visibility.private', // 118
'layout.css.font-visibility.resistFingerprinting', // 116 'layout.css.font-visibility.resistFingerprinting', // 116
'layout.css.font-visibility.standard', // 118 'layout.css.font-visibility.standard', // 118
'layout.css.font-visibility.trackingprotection', // 118 'layout.css.font-visibility.trackingprotection', // 118
'network.dns.skipTRR-when-parental-control-enabled', // 119
'permissions.delegation.enabled', // 118 'permissions.delegation.enabled', // 118
'security.family_safety.mode', // 117 'security.family_safety.mode', // 117
'widget.non-native-theme.enabled', // 127
/* 103-115 */ /* 103-115 */
'browser.cache.offline.enable', // 115 'browser.cache.offline.enable', // 115
'extensions.formautofill.heuristics.enabled', // 114 'extensions.formautofill.heuristics.enabled', // 114
@@ -65,10 +79,35 @@
'security.ssl3.rsa_des_ede3_sha', // 93 'security.ssl3.rsa_des_ede3_sha', // 93
/* REMOVED */ /* REMOVED */
/* 141-153 */
'browser.display.use_system_colors',
'browser.urlbar.fakespot.featureGate',
'keyword.enabled',
'security.OCSP.enabled',
'security.OCSP.require',
/* 129-140 */
'dom.securecontext.allowlist_onions',
'network.http.referer.hideOnionSource',
'privacy.clearOnShutdown.cache',
'privacy.clearOnShutdown.cookies',
'privacy.clearOnShutdown.downloads',
'privacy.clearOnShutdown.formdata',
'privacy.clearOnShutdown.history',
'privacy.clearOnShutdown.offlineApps',
'privacy.clearOnShutdown.sessions',
'privacy.cpd.cache',
'privacy.cpd.cookies',
'privacy.cpd.formdata',
'privacy.cpd.history',
'privacy.cpd.offlineApps',
'privacy.cpd.sessions',
/* 116-128 */ /* 116-128 */
'browser.fixup.alternate.enabled', 'browser.fixup.alternate.enabled',
'browser.taskbar.previews.enable', 'browser.taskbar.previews.enable',
'browser.urlbar.dnsResolveSingleWordsAfterSearch', 'browser.urlbar.dnsResolveSingleWordsAfterSearch',
'geo.provider.network.url',
'geo.provider.network.logging.enabled',
'geo.provider.use_gpsd',
'media.gmp-widevinecdm.enabled', 'media.gmp-widevinecdm.enabled',
'network.protocol-handler.external.ms-windows-store', 'network.protocol-handler.external.ms-windows-store',
'privacy.partition.always_partition_third_party_non_cookie_storage', 'privacy.partition.always_partition_third_party_non_cookie_storage',
+2 -2
View File
@@ -3,7 +3,7 @@ TITLE arkenfox user.js updater
REM ## arkenfox user.js updater for Windows REM ## arkenfox user.js updater for Windows
REM ## author: @claustromaniac REM ## author: @claustromaniac
REM ## version: 4.19 REM ## version: 4.20
REM ## instructions: https://github.com/arkenfox/user.js/wiki/5.1-Updater-[Options]#-windows REM ## instructions: https://github.com/arkenfox/user.js/wiki/5.1-Updater-[Options]#-windows
SET v=4.19 SET v=4.19
@@ -177,7 +177,7 @@ IF EXIST user.js.new (
IF DEFINED _singlebackup ( IF DEFINED _singlebackup (
MOVE /Y user.js user.js.bak >nul MOVE /Y user.js user.js.bak >nul
) ELSE ( ) ELSE (
FOR /F "delims=" %%# IN ('powershell get-date -format "{yyyyMMdd_HHmmss}"') DO @SET ldt=%%# FOR /F "delims=" %%# IN ('powershell -command get-date -format "{yyyyMMdd_HHmmss}"') DO @SET ldt=%%#
MOVE /Y user.js "user-backup-!ldt!.js" >nul MOVE /Y user.js "user-backup-!ldt!.js" >nul
) )
REN user.js.new user.js REN user.js.new user.js
+4 -4
View File
@@ -2,7 +2,7 @@
## arkenfox user.js updater for macOS and Linux ## arkenfox user.js updater for macOS and Linux
## version: 3.9 ## version: 4.0
## Author: Pat Johnson (@overdodactyl) ## Author: Pat Johnson (@overdodactyl)
## Additional contributors: @earthlng, @ema-pe, @claustromaniac, @infinitewarp ## Additional contributors: @earthlng, @ema-pe, @claustromaniac, @infinitewarp
@@ -393,11 +393,11 @@ update_updater "$@"
getProfilePath # updates PROFILE_PATH or exits on error getProfilePath # updates PROFILE_PATH or exits on error
cd "$PROFILE_PATH" || exit 1 cd "$PROFILE_PATH" || exit 1
# Check if any files have the owner/group as root/wheel. # Check if any files have the owner as root/wheel.
if [ -n "$(find ./ -user 0 -o -group 0)" ]; then if [ -n "$(find ./ -user 0)" ]; then
printf 'It looks like this script was previously run with elevated privileges, printf 'It looks like this script was previously run with elevated privileges,
you will need to change ownership of the following files to your user:\n' you will need to change ownership of the following files to your user:\n'
find . -user 0 -o -group 0 find . -user 0
cd "$CURRDIR" cd "$CURRDIR"
exit 1 exit 1
fi fi
+363 -311
View File
File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB