mirror of
https://github.com/arkenfox/user.js.git
synced 2026-06-16 01:12:52 +05:30
Compare commits
117 Commits
v71.0-beta
..
79.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 815c3026b5 | |||
| 5ed3047b7a | |||
| e16ede1cdf | |||
| 6905187b3e | |||
| 172118e61b | |||
| 8452edb94b | |||
| 0f6957bbd4 | |||
| 8c2bcc0352 | |||
| bc832575d8 | |||
| c4b7e07691 | |||
| 58fb1db838 | |||
| 2809854802 | |||
| 091a71aade | |||
| 117ab133b1 | |||
| c4a06c4689 | |||
| 0d27689c64 | |||
| 771e57480a | |||
| f8fd03482d | |||
| 10cc1224d0 | |||
| 52926cca7a | |||
| be64819ce7 | |||
| 24c228df92 | |||
| 892b3d9d69 | |||
| df21798b81 | |||
| 46d03279d3 | |||
| fe0af3bb34 | |||
| 84997386c1 | |||
| 1a389c0214 | |||
| d0060fed3c | |||
| 3d18af19e3 | |||
| b5b04454e0 | |||
| 618f7bed3f | |||
| 488a825626 | |||
| aaf6cb33d7 | |||
| 77ecef8be3 | |||
| 4be0a80720 | |||
| f573200aa8 | |||
| 48f258ff53 | |||
| b9100488cb | |||
| 9d78e050ee | |||
| b07cf1f03d | |||
| 683ef63b37 | |||
| 05580f5e99 | |||
| ecc62554e5 | |||
| f6e6de8444 | |||
| f69d92e6dd | |||
| 3edc48da56 | |||
| 868882ae33 | |||
| ff9bf76e52 | |||
| 4bc5b89cfe | |||
| bb1e5bfd54 | |||
| 27d72eda9e | |||
| 07117c65c1 | |||
| 919d4bfe96 | |||
| e38e253c25 | |||
| 14aaec71fb | |||
| c0780df24d | |||
| 0ea1605642 | |||
| bd384622db | |||
| 3366e0aa16 | |||
| dff5bb478a | |||
| d455c500a6 | |||
| b90e72370c | |||
| dd162d9f48 | |||
| d7c276b3fe | |||
| 394b691599 | |||
| ba83c555cc | |||
| b695468c7e | |||
| deae6e14f9 | |||
| 97c5378e52 | |||
| d2dd0c2ab4 | |||
| 8c7149c6a5 | |||
| d2da48c215 | |||
| 7e71b6663c | |||
| 94c83519f2 | |||
| e7d20867cb | |||
| 55ae994972 | |||
| f0945743b7 | |||
| ee35d7c70d | |||
| fe1b03bd2a | |||
| 187692af66 | |||
| b6e2a3f64f | |||
| 6f7e09ad43 | |||
| 4ddf60cf32 | |||
| 24777c9ac2 | |||
| 615ebeda2f | |||
| 4139630635 | |||
| a542701ba5 | |||
| e67a0c868d | |||
| 1afd52de6e | |||
| 64f34f1471 | |||
| 5f3e3b2691 | |||
| 1ce1f74494 | |||
| 03f558b09c | |||
| cd9fc110b0 | |||
| 7619e312de | |||
| 5d2c5de11c | |||
| e1022c2e72 | |||
| e431b324c8 | |||
| 18ad40a5c6 | |||
| 315de066ec | |||
| 85273d0f19 | |||
| ef293b57a7 | |||
| 79d316fd22 | |||
| ed60588473 | |||
| 07c128a190 | |||
| 5b1d56933b | |||
| 34cfcedc1b | |||
| f9146fdf24 | |||
| a1cdbc8324 | |||
| cd07641a9d | |||
| 9c02949e04 | |||
| 1ef62a1036 | |||
| 5672bc8cc8 | |||
| df1732745d | |||
| 30daf8640c | |||
| 4074a37e1d |
@@ -8,11 +8,11 @@ assignees: ''
|
|||||||
---
|
---
|
||||||
|
|
||||||
Before you proceed...
|
Before you proceed...
|
||||||
- Keep reading this. Seriously.
|
- Issues will be closed as invalid if you do not [troubleshoot](https://github.com/ghacksuserjs/ghacks-user.js/wiki/1.4-Troubleshooting), including
|
||||||
- Note that we do not support forks (i.e. IceCat, Pale Moon, WaterFox, etc).
|
- confirming the problem is caused by the `user.js`
|
||||||
- Make sure you searched for the `[Setup` tags in the `user.js`.
|
- searching the `[Setup` tags in the `user.js`
|
||||||
- Search the GitHub repository. The information you need is most likely here already.
|
- Search the GitHub repository. The information you need is most likely here already.
|
||||||
- Check out our [troubleshooting](https://github.com/ghacksuserjs/ghacks-user.js/wiki/1.4-Troubleshooting) wiki page, including steps to see if the problem is caused by the `user.js` or an extension.
|
- Note: We do not support forks
|
||||||
|
|
||||||
See also:
|
See also:
|
||||||
- Extension breakage due to prefs [issue 391](https://github.com/ghacksuserjs/ghacks-user.js/issues/391)
|
- Extension breakage due to prefs [issue 391](https://github.com/ghacksuserjs/ghacks-user.js/issues/391)
|
||||||
|
|||||||
+3
-3
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## prefs.js cleaner for Linux/Mac
|
## prefs.js cleaner for Linux/Mac
|
||||||
## author: @claustromaniac
|
## author: @claustromaniac
|
||||||
## version: 1.1
|
## version: 1.2
|
||||||
|
|
||||||
## 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
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ fQuit() {
|
|||||||
fFF_check() {
|
fFF_check() {
|
||||||
# there are many ways to see if firefox is running or not, some more reliable than others
|
# there are many ways to see if firefox is running or not, some more reliable than others
|
||||||
# this isn't elegant and might not be future-proof but should at least be compatible with any environment
|
# this isn't elegant and might not be future-proof but should at least be compatible with any environment
|
||||||
while [ -e webappsstore.sqlite-shm ]; do
|
while [ -e lock ]; do
|
||||||
echo -e "\nThis Firefox profile seems to be in use. Close Firefox and try again.\n"
|
echo -e "\nThis Firefox profile seems to be in use. Close Firefox and try again.\n"
|
||||||
read -p "Press any key to continue."
|
read -p "Press any key to continue."
|
||||||
done
|
done
|
||||||
@@ -58,7 +58,7 @@ echo -e "\n\n"
|
|||||||
echo " ╔══════════════════════════╗"
|
echo " ╔══════════════════════════╗"
|
||||||
echo " ║ prefs.js cleaner ║"
|
echo " ║ prefs.js cleaner ║"
|
||||||
echo " ║ by claustromaniac ║"
|
echo " ║ by claustromaniac ║"
|
||||||
echo " ║ v1.1 ║"
|
echo " ║ v1.2 ║"
|
||||||
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."
|
||||||
|
|||||||
+7
-3
@@ -1,7 +1,9 @@
|
|||||||
/***
|
/***
|
||||||
This will reset the preferences that are under sections 4600 & 4700 in the ghacks user.js
|
Version: up to and including FF/ESR78
|
||||||
up to and including Firefox/ESR 68. These are the prefs that are no longer necessary,
|
|
||||||
or they conflict with, privacy.resistFingerprinting if you have that enabled.
|
This will reset the preferences that are under sections 4600 & 4700 in the
|
||||||
|
ghacks user.js. These are the prefs that are no longer necessary, or they
|
||||||
|
conflict with, privacy.resistFingerprinting if you have that enabled.
|
||||||
|
|
||||||
For instructions see:
|
For instructions see:
|
||||||
https://github.com/ghacksuserjs/ghacks-user.js/wiki/3.1-Resetting-Inactive-Prefs-[Scripts]
|
https://github.com/ghacksuserjs/ghacks-user.js/wiki/3.1-Resetting-Inactive-Prefs-[Scripts]
|
||||||
@@ -24,6 +26,8 @@
|
|||||||
'webgl.enable-debug-renderer-info',
|
'webgl.enable-debug-renderer-info',
|
||||||
'dom.w3c_pointer_events.enabled',
|
'dom.w3c_pointer_events.enabled',
|
||||||
'ui.use_standins_for_native_colors',
|
'ui.use_standins_for_native_colors',
|
||||||
|
'ui.systemUsesDarkTheme',
|
||||||
|
'ui.prefersReducedMotion',
|
||||||
/* section 4700 */
|
/* section 4700 */
|
||||||
'general.useragent.override',
|
'general.useragent.override',
|
||||||
'general.buildID.override',
|
'general.buildID.override',
|
||||||
+28
-1
@@ -1,6 +1,8 @@
|
|||||||
/***
|
/***
|
||||||
|
Version: up to and including FF/ESR78
|
||||||
|
|
||||||
This will reset the preferences that have been deprecated by Mozilla
|
This will reset the preferences that have been deprecated by Mozilla
|
||||||
and used in the ghacks user.js up to and including Firefox/ESR 68
|
and used in the ghacks user.js
|
||||||
|
|
||||||
It is in reverse order, so feel free to remove sections that do not apply
|
It is in reverse order, so feel free to remove sections that do not apply
|
||||||
|
|
||||||
@@ -12,6 +14,31 @@
|
|||||||
let ops = [
|
let ops = [
|
||||||
/* deprecated */
|
/* deprecated */
|
||||||
|
|
||||||
|
/* 78 */
|
||||||
|
'media.autoplay.enabled.user-gestures-needed',
|
||||||
|
'toolkit.cosmeticAnimations.enabled',
|
||||||
|
/* 77 */
|
||||||
|
'browser.urlbar.oneOffSearches',
|
||||||
|
'browser.tabs.remote.allowLinkedWebInFileUriProcess',
|
||||||
|
/* 76 */
|
||||||
|
'extensions.blocklist.url',
|
||||||
|
/* 74 */
|
||||||
|
'geo.wifi.uri',
|
||||||
|
'geo.wifi.logging.enabled',
|
||||||
|
'privacy.userContext.longPressBehavior',
|
||||||
|
'webgl.disable-extensions',
|
||||||
|
/* 72 */
|
||||||
|
'browser.newtabpage.activity-stream.telemetry.ping.endpoint',
|
||||||
|
'toolkit.telemetry.hybridContent.enabled',
|
||||||
|
'dom.indexedDB.enabled',
|
||||||
|
/* 71 */
|
||||||
|
'devtools.webide.enabled',
|
||||||
|
'devtools.webide.autoinstallADBExtension',
|
||||||
|
'offline-apps.allow_by_default',
|
||||||
|
/* 69 */
|
||||||
|
'gfx.downloadable_fonts.woff2.enabled',
|
||||||
|
'plugins.click_to_play',
|
||||||
|
'media.autoplay.allow-muted',
|
||||||
/* 68 */
|
/* 68 */
|
||||||
'browser.newtabpage.activity-stream.disableSnippets',
|
'browser.newtabpage.activity-stream.disableSnippets',
|
||||||
'browser.aboutHomeSnippets.updateUrl',
|
'browser.aboutHomeSnippets.updateUrl',
|
||||||
+9
-1
@@ -1,7 +1,7 @@
|
|||||||
/***
|
/***
|
||||||
This will reset the preferences that have been removed completely from the ghacks user.js.
|
This will reset the preferences that have been removed completely from the ghacks user.js.
|
||||||
|
|
||||||
Last updated: 11-November-2019
|
Last updated: 28-July-2020
|
||||||
|
|
||||||
For instructions see:
|
For instructions see:
|
||||||
https://github.com/ghacksuserjs/ghacks-user.js/wiki/3.1-Resetting-Inactive-Prefs-[Scripts]
|
https://github.com/ghacksuserjs/ghacks-user.js/wiki/3.1-Resetting-Inactive-Prefs-[Scripts]
|
||||||
@@ -215,6 +215,14 @@
|
|||||||
'security.insecure_connection_icon.pbmode.enabled',
|
'security.insecure_connection_icon.pbmode.enabled',
|
||||||
'security.insecure_connection_text.pbmode.enabled',
|
'security.insecure_connection_text.pbmode.enabled',
|
||||||
'webgl.dxgl.enabled',
|
'webgl.dxgl.enabled',
|
||||||
|
/* 71-beta */
|
||||||
|
'media.block-autoplay-until-in-foreground',
|
||||||
|
'middlemouse.paste',
|
||||||
|
/* 75-beta */
|
||||||
|
'browser.search.geoip.url',
|
||||||
|
'browser.search.region',
|
||||||
|
/* 79-beta */
|
||||||
|
'browser.urlbar.usepreloadedtopurls.enabled',
|
||||||
/* reset parrot: check your open about:config after running the script */
|
/* reset parrot: check your open about:config after running the script */
|
||||||
'_user.js.parrot'
|
'_user.js.parrot'
|
||||||
]
|
]
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
/*** ghacks-user.js troubleshooter.js v1.6.0 ***/
|
/*** ghacks-user.js troubleshooter.js v1.6.1 ***/
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
|
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
]
|
]
|
||||||
|
|
||||||
// any runtime-set pref that everyone will have and that can be safely reset
|
// any runtime-set pref that everyone will have and that can be safely reset
|
||||||
const oFILLER = { type: 64, name: 'extensions.blocklist.pingCountTotal', value: -1 };
|
const oFILLER = { type: 64, name: 'app.update.lastUpdateTime.browser-cleanup-thumbnails', value: 1580000000 };
|
||||||
|
|
||||||
function getMyList(arr) {
|
function getMyList(arr) {
|
||||||
const aRet = [];
|
const aRet = [];
|
||||||
|
|||||||
+5
-3
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## ghacks-user.js updater for macOS and Linux
|
## ghacks-user.js updater for macOS and Linux
|
||||||
|
|
||||||
## version: 2.5
|
## version: 2.6
|
||||||
## Author: Pat Johnson (@overdodactyl)
|
## Author: Pat Johnson (@overdodactyl)
|
||||||
## Additional contributors: @earthlng, @ema-pe, @claustromaniac
|
## Additional contributors: @earthlng, @ema-pe, @claustromaniac
|
||||||
|
|
||||||
@@ -313,8 +313,10 @@ update_userjs () {
|
|||||||
|
|
||||||
# apply overrides
|
# apply overrides
|
||||||
if [ "$SKIPOVERRIDE" = false ]; then
|
if [ "$SKIPOVERRIDE" = false ]; then
|
||||||
while IFS=',' read -ra FILE; do
|
while IFS=',' read -ra FILES; do
|
||||||
add_override "$FILE"
|
for FILE in "${FILES[@]}"; do
|
||||||
|
add_override "$FILE"
|
||||||
|
done
|
||||||
done <<< "$OVERRIDE"
|
done <<< "$OVERRIDE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user