mirror of
https://github.com/arkenfox/user.js.git
synced 2025-09-01 09:28:31 +02:00
Compare commits
30 Commits
Author | SHA1 | Date | |
---|---|---|---|
9103afafff | |||
9e8ead84c8 | |||
7f852e94fc | |||
3d76c74c80 | |||
9bba5788aa | |||
c25187332e | |||
80fa110f49 | |||
b8f18a3d91 | |||
eae5762d29 | |||
c6cfa10c0b | |||
bc6a2ba145 | |||
f906f7f3b4 | |||
11582f905a | |||
ff5c959cb9 | |||
23caf69614 | |||
6446d73cf5 | |||
47cbf5b974 | |||
9655743d8c | |||
c2f191448c | |||
33a84b608c | |||
4a510a4b4c | |||
e4dd5aa428 | |||
fd72683abe | |||
f95c6829fe | |||
fc25163763 | |||
29bb5a35f0 | |||
96210522d8 | |||
d94d68245f | |||
e2681baec3 | |||
35e8def0b1 |
@ -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..."
|
||||
|
@ -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."
|
||||
|
@ -3,10 +3,10 @@
|
||||
- removed from the arkenfox user.js
|
||||
- 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
|
||||
if you want the full list prior to FF118
|
||||
There is an archived version at https://github.com/arkenfox/user.js/issues/123
|
||||
if you want the full list since jesus
|
||||
|
||||
Last updated: 29-September-2023
|
||||
Last updated: 14-August-2025
|
||||
|
||||
Instructions:
|
||||
- [optional] close Firefox and backup your profile
|
||||
@ -35,14 +35,25 @@
|
||||
|
||||
const aPREFS = [
|
||||
/* DEPRECATED */
|
||||
/* 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
|
||||
'layout.css.font-visibility.resistFingerprinting', // 116
|
||||
'layout.css.font-visibility.standard', // 118
|
||||
'layout.css.font-visibility.trackingprotection', // 118
|
||||
'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
|
||||
@ -65,10 +76,29 @@
|
||||
'security.ssl3.rsa_des_ede3_sha', // 93
|
||||
|
||||
/* REMOVED */
|
||||
/* 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',
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
BIN
wikipiki/icon-librewolf.png
Normal file
BIN
wikipiki/icon-librewolf.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
wikipiki/icon-mull.png
Normal file
BIN
wikipiki/icon-mull.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
wikipiki/icon-mullvadbrowser.png
Normal file
BIN
wikipiki/icon-mullvadbrowser.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
wikipiki/icon-torbrowser.png
Normal file
BIN
wikipiki/icon-torbrowser.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
Reference in New Issue
Block a user