Compare commits

...

24 Commits
119.0 ... 144.0

Author SHA1 Message Date
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
6 changed files with 391 additions and 280 deletions

View File

@@ -3,7 +3,7 @@ TITLE prefs.js cleaner
REM ### prefs.js cleaner for Windows
REM ## author: @claustromaniac
REM ## version: 2.7
REM ## version: 2.8
CD /D "%~dp0"
@@ -15,7 +15,7 @@ ECHO:
ECHO ########################################
ECHO #### prefs.js cleaner for Windows ####
ECHO #### by claustromaniac ####
ECHO #### v2.7 ####
ECHO #### v2.8 ####
ECHO ########################################
ECHO:
CALL :message "This script should be run from your Firefox profile directory."
@@ -37,7 +37,7 @@ CALL :strlenCheck
CALL :FFcheck
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"
CALL :message "Cleaning prefs.js..."

View File

@@ -2,7 +2,7 @@
## prefs.js cleaner for Linux/Mac
## 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
@@ -132,13 +132,13 @@ done
## change directory to the Firefox profile directory
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
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,
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
fi
@@ -148,7 +148,7 @@ echo -e "\n\n"
echo " ╔══════════════════════════╗"
echo " ║ prefs.js cleaner ║"
echo " ║ by claustromaniac ║"
echo " ║ v2.0 ║"
echo " ║ v2.1 ║"
echo " ╚══════════════════════════╝"
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."

View File

@@ -6,7 +6,7 @@
There is an archived version at https://github.com/arkenfox/user.js/issues/123
if you want the full list since jesus
Last updated: 2-November-2023
Last updated: 19-December-2025
Instructions:
- [optional] close Firefox and backup your profile
@@ -35,7 +35,18 @@
const aPREFS = [
/* 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 */
'browser.contentanalysis.default_allow', // 127
'browser.messaging-system.whatsNewPanel.enabled', // 126
'browser.ping-centre.telemetry', // 123
'dom.webnotifications.serviceworker.enabled', // 117
'javascript.use_us_english_locale', // 119
'layout.css.font-visibility.private', // 118
@@ -45,6 +56,7 @@
'network.dns.skipTRR-when-parental-control-enabled', // 119
'permissions.delegation.enabled', // 118
'security.family_safety.mode', // 117
'widget.non-native-theme.enabled', // 127
/* 103-115 */
'browser.cache.offline.enable', // 115
'extensions.formautofill.heuristics.enabled', // 114
@@ -67,10 +79,35 @@
'security.ssl3.rsa_des_ede3_sha', // 93
/* 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 */
'browser.fixup.alternate.enabled',
'browser.taskbar.previews.enable',
'browser.urlbar.dnsResolveSingleWordsAfterSearch',
'geo.provider.network.url',
'geo.provider.network.logging.enabled',
'geo.provider.use_gpsd',
'media.gmp-widevinecdm.enabled',
'network.protocol-handler.external.ms-windows-store',
'privacy.partition.always_partition_third_party_non_cookie_storage',

View File

@@ -3,7 +3,7 @@ TITLE arkenfox user.js updater
REM ## arkenfox user.js updater for Windows
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
SET v=4.19
@@ -177,7 +177,7 @@ IF EXIST user.js.new (
IF DEFINED _singlebackup (
MOVE /Y user.js user.js.bak >nul
) 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
)
REN user.js.new user.js

View File

@@ -2,7 +2,7 @@
## arkenfox user.js updater for macOS and Linux
## version: 3.9
## version: 4.0
## Author: Pat Johnson (@overdodactyl)
## Additional contributors: @earthlng, @ema-pe, @claustromaniac, @infinitewarp
@@ -393,11 +393,11 @@ update_updater "$@"
getProfilePath # updates PROFILE_PATH or exits on error
cd "$PROFILE_PATH" || exit 1
# Check if any files have the owner/group as root/wheel.
if [ -n "$(find ./ -user 0 -o -group 0)" ]; then
# Check if any files have the owner as root/wheel.
if [ -n "$(find ./ -user 0)" ]; then
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'
find . -user 0 -o -group 0
find . -user 0
cd "$CURRDIR"
exit 1
fi

604
user.js

File diff suppressed because it is too large Load Diff