mirror of
https://github.com/arkenfox/user.js.git
synced 2026-04-26 01:33:30 +02:00
Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb45863be7 | ||
|
|
0f14e030b3 | ||
|
|
9103afafff | ||
|
|
9e8ead84c8 | ||
|
|
7f852e94fc | ||
|
|
3d76c74c80 | ||
|
|
9bba5788aa | ||
|
|
c25187332e | ||
|
|
80fa110f49 | ||
|
|
b8f18a3d91 | ||
|
|
eae5762d29 | ||
|
|
c6cfa10c0b | ||
|
|
bc6a2ba145 | ||
|
|
f906f7f3b4 | ||
|
|
11582f905a | ||
|
|
ff5c959cb9 | ||
|
|
23caf69614 | ||
|
|
6446d73cf5 | ||
|
|
47cbf5b974 | ||
|
|
9655743d8c | ||
|
|
c2f191448c |
@@ -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..."
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
There is an archived version at https://github.com/arkenfox/user.js/issues/123
|
There is an archived version at https://github.com/arkenfox/user.js/issues/123
|
||||||
if you want the full list since jesus
|
if you want the full list since jesus
|
||||||
|
|
||||||
Last updated: 2-November-2023
|
Last updated: 19-December-2025
|
||||||
|
|
||||||
Instructions:
|
Instructions:
|
||||||
- [optional] close Firefox and backup your profile
|
- [optional] close Firefox and backup your profile
|
||||||
@@ -35,7 +35,18 @@
|
|||||||
|
|
||||||
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
|
'javascript.use_us_english_locale', // 119
|
||||||
'layout.css.font-visibility.private', // 118
|
'layout.css.font-visibility.private', // 118
|
||||||
@@ -45,6 +56,7 @@
|
|||||||
'network.dns.skipTRR-when-parental-control-enabled', // 119
|
'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
|
||||||
@@ -67,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',
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user