Compare commits

..

328 Commits

Author SHA1 Message Date
Thorin-Oakenpants
84997386c1 78-beta 2020-07-20 05:24:18 +00:00
Thorin-Oakenpants
1a389c0214 dnsResolveSingleWordsAfterSearch (#968) 2020-07-10 10:09:13 +00:00
Thorin-Oakenpants
d0060fed3c 2031: use exceptions if you need to, #969 2020-07-08 13:18:38 +00:00
Thorin-Oakenpants
3d18af19e3 various, #959 (#967)
Co-authored-by: rusty-snake
2020-07-05 14:02:25 +00:00
Thorin-Oakenpants
b5b04454e0 0850a search keywords fixup 2020-07-01 03:46:52 +00:00
Thorin-Oakenpants
618f7bed3f 0850a: add top sites FF78+ 2020-06-29 15:49:11 +00:00
Thorin-Oakenpants
488a825626 update weak ciphers/tests etc, closes #931 (#963)
- adds the new tests including the non-JS JA3

Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com>
Co-authored-by: earthlng <earthlng@users.noreply.github.com>
2020-06-28 15:48:13 +00:00
Thorin-Oakenpants
aaf6cb33d7 4617 restart
- at least for disabling chrome animations
2020-06-27 12:37:32 +00:00
Thorin-Oakenpants
77ecef8be3 78 deprecated, add 2032 (#962) 2020-06-27 12:16:57 +00:00
Thorin-Oakenpants
4be0a80720 update trac tor tickets (#958)
and some other minor tweaks
2020-06-24 17:26:25 +00:00
Thorin-Oakenpants
f573200aa8 ciphers in ESR78
[1496639](https://bugzilla.mozilla.org/show_bug.cgi?id=1496639)
2020-06-18 02:29:54 +00:00
Thorin-Oakenpants
48f258ff53 start 78-alpha 2020-06-14 10:28:32 +00:00
Thorin-Oakenpants
b9100488cb 77 final 2020-06-14 10:26:10 +00:00
Thorin-Oakenpants
9d78e050ee 77-beta 2020-06-12 17:39:28 +00:00
Thorin-Oakenpants
b07cf1f03d remove extra line from last commit, save one byte 2020-06-05 03:10:09 +00:00
Thorin-Oakenpants
683ef63b37 RFP alts: prefers-reduced-motion 2020-06-05 03:08:16 +00:00
Thorin-Oakenpants
05580f5e99 0709 hotfix, #923, #951 2020-06-02 20:48:41 +00:00
Thorin-Oakenpants
ecc62554e5 2608: remote debugging: default value, closes #950 2020-06-01 15:27:38 +00:00
Thorin-Oakenpants
f6e6de8444 77 deprecated 2020-05-29 12:41:59 +00:00
Thorin-Oakenpants
f69d92e6dd 1244: https upgrade local 2020-05-29 12:23:17 +00:00
Matt Loberg
3edc48da56 fix updater.sh when dealing with multiple overrides (#947)
thanks @mloberg !
2020-05-26 11:54:55 +00:00
Thorin-Oakenpants
868882ae33 start 77-alpha 2020-05-24 18:11:55 +00:00
Thorin-Oakenpants
ff9bf76e52 76 final, save some bytes in RFP section 2020-05-24 18:09:46 +00:00
Thorin-Oakenpants
4bc5b89cfe 4500: RFP changes 78+ re canvas 2020-05-15 23:18:11 +00:00
Thorin-Oakenpants
bb1e5bfd54 76-beta 2020-05-07 14:56:49 +00:00
Thorin-Oakenpants
27d72eda9e 1244: https-only-mode 2020-05-07 06:20:10 +00:00
Thorin-Oakenpants
07117c65c1 RFP spoofs FF78+ 2020-05-07 05:13:19 +00:00
Thorin-Oakenpants
919d4bfe96 godamnit, also move related reference 2020-05-04 10:52:25 +00:00
Thorin-Oakenpants
e38e253c25 oophs, forgot deprecation source 2020-05-04 10:49:07 +00:00
Thorin-Oakenpants
14aaec71fb 76 deprecated 2020-05-04 07:34:23 +00:00
Thorin-Oakenpants
c0780df24d 1401: PDF breakage, closes #937 2020-04-30 21:50:50 +00:00
Thorin-Oakenpants
0ea1605642 start 76-alpha, 2605 default 2020-04-30 18:52:27 +00:00
earthlng
bd384622db Update troubleshooter.js (#935)
extensions.blocklist.pingCountTotal is not used anymore in FF76+
2020-04-29 12:00:10 +00:00
Thorin-Oakenpants
3366e0aa16 75 final 2020-04-23 08:52:48 +00:00
W
dff5bb478a 0211: add possible breakage for CJK input methods 2020-04-16 04:04:13 +00:00
Thorin-Oakenpants
d455c500a6 75-beta 2020-04-15 14:44:14 +00:00
Thorin-Oakenpants
b90e72370c 1007 fixup what FF75+ applies to 2020-04-14 00:28:00 +00:00
Thorin-Oakenpants
dd162d9f48 1007 fixups 2020-04-14 00:16:03 +00:00
Thorin-Oakenpants
d7c276b3fe 2402: clipboardevents -> inactive, #887 2020-04-13 06:17:54 +00:00
Thorin-Oakenpants
394b691599 2421: grammar fix 2020-04-13 04:55:10 +00:00
Thorin-Oakenpants
ba83c555cc geo default search engines
browser.search.geoip.url is deprecated in 75, the prefs are only used on first run, and we don't mess with search engines as that is a user choice
2020-04-12 18:10:34 +00:00
Thorin-Oakenpants
b695468c7e remove 0205 2020-04-12 18:07:12 +00:00
Thorin-Oakenpants
deae6e14f9 75 deprecated 2020-04-12 16:38:12 +00:00
Thorin-Oakenpants
97c5378e52 1007: *forceMediaMemoryCache PB mode 2020-04-12 16:23:48 +00:00
Thorin-Oakenpants
d2dd0c2ab4 tls stats update
- Go to https://telemetry.mozilla.org/
- click `measurement dashboard`
- select `SSL_HANDSHAKE_VERSION`

I looked at Nightly 75 (0.26 and 0.01) and Nightly 76 (0.2 and 0)
2020-04-11 02:51:17 +00:00
Thorin-Oakenpants
8c7149c6a5 2421: Ion/JIT trusted principals, closes #914 2020-04-09 06:07:13 +00:00
Thorin-Oakenpants
d2da48c215 revert top sites, see #922 2020-04-08 08:01:07 +00:00
Thorin-Oakenpants
7e71b6663c 75-alpha, add 105e, closes #922 2020-04-08 07:12:14 +00:00
Thorin-Oakenpants
94c83519f2 74 final 2020-04-08 07:08:36 +00:00
Thorin-Oakenpants
e7d20867cb 2623 delegation 2421 ion/jit tweak 2020-04-06 00:39:52 +00:00
Thorin-Oakenpants
55ae994972 2421 fixup Ion/Jit note 2020-03-28 13:18:34 +00:00
Thorin-Oakenpants
f0945743b7 2662: clarify 4503 needed, #912 2020-03-27 16:20:41 +00:00
Thorin-Oakenpants
ee35d7c70d 2421: ion/jit and extensions note 2020-03-27 12:44:06 +00:00
Thorin-Oakenpants
fe1b03bd2a tls downgrades -> session only 2020-03-27 12:36:16 +00:00
Thorin-Oakenpants
187692af66 enforce disabled system + prefixed colors 2020-03-19 11:36:03 +00:00
Thorin-Oakenpants
b6e2a3f64f one of the 2012 webgl prefs deprecated 2020-03-12 14:44:14 +00:00
Thorin-Oakenpants
6f7e09ad43 1704 deprecated, add 1703 2020-03-12 05:23:57 +00:00
Thorin-Oakenpants
4ddf60cf32 0203: make sure users know these are 74+ prefs 2020-03-12 03:56:13 +00:00
earthlng
24777c9ac2 FF74: 0203 updates (#904) 2020-03-12 03:44:52 +00:00
Thorin-Oakenpants
615ebeda2f start 74-alpha 2020-03-12 03:43:31 +00:00
Thorin-Oakenpants
4139630635 73 final 2020-03-12 03:37:46 +00:00
Thorin-Oakenpants
a542701ba5 Update troubleshooting-help.md 2020-02-25 00:21:42 +00:00
Thorin-Oakenpants
e67a0c868d Update troubleshooting-help.md 2020-02-25 00:20:19 +00:00
Thorin-Oakenpants
1afd52de6e 0306: minor tweak
There is no "show more details about an addon" anymore since they moved to the new html/card layout
2020-02-22 13:56:30 +00:00
Thorin-Oakenpants
64f34f1471 73-beta 2020-02-15 12:55:59 +00:00
Thorin-Oakenpants
5f3e3b2691 VR default prompt, RFP info, start 73-alpha 2020-02-14 01:00:02 +00:00
earthlng
1ce1f74494 Update user.js 2020-02-12 12:03:29 +00:00
earthlng
03f558b09c nit: 0517 SETTING
we don't include `Options>` in [SETTING] lines
2020-02-10 17:12:08 +00:00
earthlng
cd9fc110b0 v1.2
look for `lock` file instead of `webappsstore.sqlite-shm` to detect if firefox is running or not (with this profile)

see https://github.com/ghacksuserjs/ghacks-user.js/pull/405#issuecomment-581447586 and follow-up comments.

Thanks @atomGit for reporting the issue and @rusty-snake for confirming it.
2020-02-10 16:47:17 +00:00
Thorin-Oakenpants
7619e312de 72 final 2020-01-24 16:48:16 +00:00
Thorin-Oakenpants
5d2c5de11c fixup deprecated ESR-cycle version 2020-01-15 02:53:07 +00:00
Thorin-Oakenpants
e1022c2e72 72-beta 2020-01-14 17:38:22 +00:00
Thorin-Oakenpants
e431b324c8 FF72 deprecated 2020-01-08 02:53:25 +00:00
Thorin-Oakenpants
18ad40a5c6 systemUsesDarkTheme -> RFP Alts 2019-12-25 02:14:49 +00:00
rusty-snake
315de066ec typo (#870) 2019-12-24 11:49:19 +00:00
Thorin-Oakenpants
85273d0f19 0517: setting tag 2019-12-22 07:13:48 +00:00
Thorin-Oakenpants
ef293b57a7 5000s: add ui.systemUsesDarkTheme 2019-12-22 06:14:25 +00:00
Thorin-Oakenpants
79d316fd22 remove old deprecations 2019-12-19 16:37:19 +00:00
Thorin-Oakenpants
ed60588473 72-alpha start 2019-12-19 16:34:44 +00:00
Thorin-Oakenpants
07c128a190 71 final 2019-12-19 16:31:51 +00:00
Thorin-Oakenpants
5b1d56933b middlemouse.paste, see #735 2019-12-19 16:21:21 +00:00
Thorin-Oakenpants
34cfcedc1b 2402+2403, finally closes #735 2019-12-19 16:19:39 +00:00
Thorin-Oakenpants
f9146fdf24 update setting tags, minor tweaks 2019-12-18 09:46:21 +00:00
Thorin-Oakenpants
a1cdbc8324 1408 graphite, closes #1408 and 2619 puncyode 2019-12-18 07:46:44 +00:00
earthlng
cd07641a9d 2701: make sure cookieBehavior is always honored (#866)
see #862
2019-12-18 05:02:25 +00:00
earthlng
9c02949e04 0000: config.xhtml in FF73+ (#865) 2019-12-17 15:00:34 +00:00
Thorin-Oakenpants
1ef62a1036 media.block-autoplay-until-in-foreground #840 2019-12-12 01:24:12 +00:00
Thorin-Oakenpants
5672bc8cc8 2032 removed, 4002 inactive, closes #840 2019-12-12 01:21:17 +00:00
Thorin-Oakenpants
df1732745d 0308: seach engine updates: better info #840 2019-12-10 22:07:23 +00:00
Thorin-Oakenpants
30daf8640c FPI stuff 2019-12-09 20:18:42 +00:00
earthlng
4074a37e1d 1201 + 1270 update (#859)
trim by a line, remove extra space, fixup on red, indicate it only applies if 1201 is false
2019-12-07 18:26:39 +00:00
Thorin-Oakenpants
97043b0ce1 71-beta 2019-12-06 12:19:21 +00:00
Thorin-Oakenpants
42ea484017 71 deprecated (#856) 2019-12-04 14:13:49 +13:00
Thorin-Oakenpants
3f6340b69c OMG!! 2019-12-03 14:51:44 +00:00
earthlng
884e84a4cb about:config warning back to the top + active (#855) 2019-12-04 03:44:59 +13:00
Thorin-Oakenpants
560acfc94f 70 final 2019-12-03 07:31:47 +00:00
Thorin-Oakenpants
fb263f5624 favicons: 1031 better info, 1032 inactive #840 (#851) 2019-12-02 23:04:09 +13:00
Thorin-Oakenpants
19b392b83d 70-beta 2019-11-24 05:23:10 +00:00
Thorin-Oakenpants
2db76c95c3 1603: breaks icloud, closes #850 2019-11-23 16:19:09 +00:00
Thorin-Oakenpants
b6fbf77dde Create ghacks-clear-FF68inclusive-[RFP-alternatives].js 2019-11-23 03:04:14 +00:00
Thorin-Oakenpants
a4ba22e912 Delete ghacks-clear-FF60inclusive-[RFP-alternatives].js 2019-11-23 03:02:59 +00:00
Thorin-Oakenpants
163e18ce6d Create ghacks-clear-FF68inclusive-[deprecated].js 2019-11-23 02:57:26 +00:00
Thorin-Oakenpants
a13027905e Delete ghacks-clear-FF60inclusive-[deprecated].js 2019-11-23 02:56:30 +00:00
Thorin-Oakenpants
8f76d9439f 2002: add FF70 bugzilla link 2019-11-22 15:26:38 +00:00
earthlng
f0980b5cb8 2002: add proxy_only_if_behind_proxy 2019-11-22 15:19:37 +00:00
Thorin-Oakenpants
450c9a9e0f simplify ciphers, closes #839 (#844)
* simplify ciphers

- let's not encourage (remove options 1, 2) changing your cipher suite FP
- remove "it's quite technical ..." (everything is technical to someone), trim to one line
- add test link so users can just see that it's FP'able
- reinforce not to fuck with the cipher suite in the cipher's sub-section
2019-11-23 03:23:08 +13:00
Thorin-Oakenpants
6acfdaccbd RFP stuff 2019-11-20 04:48:15 +00:00
Thorin-Oakenpants
a0e0a2a6c9 2680 tweak #840 2019-11-19 16:26:14 +00:00
Thorin-Oakenpants
f67e729197 whatsNewPanel correct version 2019-11-19 06:39:08 +00:00
rusty-snake
19526b573c 2805 note, FPI change (#842) 2019-11-19 16:31:48 +13:00
Thorin-Oakenpants
b0221ec838 1576254 version fixup 2019-11-17 10:33:02 +00:00
Thorin-Oakenpants
a3611b7cf8 changes to prefs affecting extensions
also first word on pdfjs.disabled, to be consistent
2019-11-14 02:39:48 +00:00
earthlng
bff1e84afa v1.6.0 2019-11-11 15:10:14 +00:00
Thorin-Oakenpants
1d31da40ec missing comma
thanks @sebp  - 0d57cfc44a (commitcomment-35890867)
2019-11-11 13:00:01 +00:00
Thorin-Oakenpants
0d57cfc44a about_newtab_segregation.enabled 2019-11-09 23:25:52 +00:00
Thorin-Oakenpants
0cfb2fb06d 1703: remove
default true since FF61, and ESR60 is now EOL
2019-11-09 23:23:34 +00:00
Thorin-Oakenpants
d5f297ed42 5000s: disable what's new 2019-11-08 18:06:35 +00:00
earthlng
c13dbdf40d 1201 update (#838)
https://wiki.mozilla.org/Security:Renegotiation describes

> **the new default behaviour** that was introduced in experimental mozilla-central nightly versions on 2010-02-08

where the last step is

> - should the server (or a MITM) request **renegotiation**, Mozilla will terminate the connection with an error message

and then after talking about breakage ...

> The above defaults may break some client/server environments where a Server is still using old software and requires renegotiation.

mentions workarounds to reduce said breakage:

> In order to give such environments a way to keep using Firefox (et.al.) to connect to their vulnerable server infrastructure, the following preferences are available:

specifically talking about the first 2 prefs listed there, one allowing to specify a list of hosts "where renegotiation may be performed" and the 2nd one "completely disables the new protection mechanisms".
But both those prefs were removed in FF38, meaning that since then it's no longer possible to disable the default behaviour that is "should the server (or a MITM) request **renegotiation**, Mozilla will terminate the connection with an error message".

But all of this is about the **re**-negotiation part and not negotiation. And nowhere does it say "insecure" renegotiation, which, as I read it, means that FF will terminate the connection for any kind of **renegotiation**, safe or unsafe.

1201 controls the negotiation part:

> This pref controls the behaviour during the initial negotiation between client and server.
> If set to true, a Mozilla client will reject all connection attempts to servers that are still using the old SSL/TLS protocol and which might be vulnerable to the attack.
> Setting this preference to “true” is the only way to guarantee full protection against the attack.

I think "servers that are still using the old SSL/TLS protocol" actually means servers that **only** support the old protocols.
Servers still supporting those old protocols in addition to some new protocol versions should not be affected by this pref because FF will be able to negotiate to use one of the newer protocol versions.

Ergo lets fix the title and remove the line about renegotiation support because I think that's irrelevant.


ps. the sslpulse link is nice and I'd like to keep it somewhere but it doesn't really fit in 1201 IMO so I moved it to 1202.
2019-11-09 05:42:21 +13:00
earthlng
6173104a9e re-add relevant deprecated items for ESR users (#837)
makes the prefsCleaner scripts useful again for users updating from ESR60 to ESR68
2019-11-09 05:30:03 +13:00
Thorin-Oakenpants
0c79b8b45b Update README.md 2019-11-08 13:46:20 +00:00
earthlng
895f8d01d5 FF70+: shield studies no longer tied to FHR (#836)
https://bugzilla.mozilla.org/1569330
2019-11-09 02:01:33 +13:00
Thorin-Oakenpants
65dfad5c76 2701: UI changes 2019-11-06 11:37:24 +00:00
earthlng
fdaf22780f Update README.md 2019-11-02 16:00:12 +00:00
Thorin-Oakenpants
16756646bb remove DoH, closes #790 2019-10-31 09:49:12 +00:00
Thorin-Oakenpants
e4f80225d8 FF72: FPI & IPv6 2019-10-28 12:12:52 +00:00
Thorin-Oakenpants
67eec9c85c pbmode insecure text/icon
see `1273`
- we already make **all** windows do this (which overrides the pb mode setting), and these were inactive
- in FF70+ the icon pref (for PB mode and all windows) is now default true
2019-10-27 04:50:59 +00:00
Thorin-Oakenpants
539750d2f2 FF70 hidden/default changes 2019-10-27 04:41:27 +00:00
Thorin-Oakenpants
d91226ed55 tweakin' 2019-10-20 23:59:16 +00:00
Thorin-Oakenpants
301fcd059d 1003: capacity no longer hidden 2019-10-20 23:36:48 +00:00
Thorin-Oakenpants
1cc9a08a18 remove ESR60.x deprecated
These are archived in #123
2019-10-20 22:40:53 +00:00
Thorin-Oakenpants
5d1857ddd8 start 70 commits 2019-10-20 22:32:37 +00:00
Thorin-Oakenpants
226af6f679 69 final 2019-10-20 22:20:50 +00:00
Thorin-Oakenpants
7f2c92f654 webgl.dxgl.enabled 2019-10-15 09:28:52 +00:00
Thorin-Oakenpants
5b82afd5bd webgl.dxgl.enabled, closes #814 2019-10-15 09:27:44 +00:00
Thorin-Oakenpants
d7b1877a1f browser.sessionhistory.max_entries see #808 2019-10-14 01:14:50 +00:00
Thorin-Oakenpants
1b6239eab8 remove 0804, closes #808
if anyone can show me how this stops history leaks, then I'll put it back with a note saying it's been broken since FF61
2019-10-14 01:13:27 +00:00
Thorin-Oakenpants
ad0187122d some SB were reinstated, closes #806 2019-10-07 16:20:03 +00:00
Thorin-Oakenpants
624e50faac replace ` with ' 2019-10-05 17:51:34 +00:00
Thorin-Oakenpants
a9e9392172 add some SB back, see #803 2019-10-05 17:47:25 +00:00
Thorin-Oakenpants
201210111e char fix 2019-10-05 15:12:21 +00:00
Thorin-Oakenpants
53f8578749 see #807 2019-10-05 15:09:19 +00:00
Thorin-Oakenpants
dc4d9e4dae revamp 0200s (#807), closes #0806
- split geo related vs language/locale related
- rip out intl.locale.requested
- rip out intl.regional_prefs.use_os_locales
- add intl.charset.fallback.override
2019-10-06 04:04:41 +13:00
Thorin-Oakenpants
e1b0eae740 goodbye http and other stuff (#801)
* goodbye http and other stuff

* dead link

* put back asmjs [1] ref

* 0805 test

* typo

* 1222 refs

* 1222 FF version

FYI: https://bugzilla.mozilla.org/show_bug.cgi?id=629558

* 2684: security delay ref

* ESR stuff

* ping ref

* 2684 ref

* 0606: give the standard it's correct name

https://html.spec.whatwg.org/multipage/links.html#hyperlink-auditing

* 0805 test instructions

* tweakin'
2019-09-21 16:20:10 +00:00
Thorin-Oakenpants
be0ccf6460 2300: service workers, closes #786 2019-09-17 12:43:50 +12:00
Thorin-Oakenpants
7c0a327b06 cache, closes #778 2019-09-16 15:25:30 +00:00
Thorin-Oakenpants
a35cba3914 2651: android UI breakage, closes #795 2019-09-12 16:22:09 +00:00
Thorin-Oakenpants
e16425310f 0320+0321: redundant prefs, #793 2019-09-12 15:52:46 +00:00
Thorin-Oakenpants
d503d96db0 0320+0321: redundant prefs, closes #793 2019-09-12 15:50:54 +00:00
Thorin-Oakenpants
335299a0cf browser.cache.disk_cache_ssl 2019-09-09 21:45:33 +00:00
Thorin-Oakenpants
7311cfdf84 remove 1002, closes #792 2019-09-09 21:43:50 +00:00
rusty-snake
3a9440aeea 0707: Add mode 5 (#789) 2019-09-08 11:38:37 +00:00
Thorin-Oakenpants
3210ab0ca8 370: pocket -> 5000s, closes #787 2019-09-07 07:22:32 +00:00
Thorin-Oakenpants
2c734612f6 ummm .. beta
OK, did that all back to front... alpha is when we're working on the diffs .. beta is when we finished it
2019-09-04 21:40:04 +00:00
Thorin-Oakenpants
a12dd83b1f 69-alpha, fixes #766 2019-09-04 21:36:50 +00:00
earthlng
44d9ceaf05 various tidyups 2019-09-04 01:40:33 +12:00
Thorin-Oakenpants
be9d9ac9ca 2701: tidyup 2019-09-03 03:34:16 +00:00
Thorin-Oakenpants
66cdb72927 FF69: deprecated 2019-09-02 07:07:50 +00:00
Thorin-Oakenpants
953b96431e 4000: RFP info re 1330467
it rode the train in 69... after a bumpy ride in 68 where it was backed out. Note: it still has some issues. Suggest users wipe the site permissions once upgraded to 69
2019-09-02 06:45:30 +00:00
Thorin-Oakenpants
4d72ad90b0 2701: cookies default FF69+ 2019-09-02 18:33:00 +12:00
Thorin-Oakenpants
cccb5b10b4 plugin.sessionPermissionNow.intervalInMinutes 2019-09-01 21:06:10 +00:00
Thorin-Oakenpants
810045eb39 1802: remove intervalInMinues
with `plugins.click_to_play` deprecated in FF69, no-one here is sure if `intervalInMinutes` still applies to Flash or even works, and no-one here cares about Flash. Happy to let Mozilla just keep restricting it more and more until it's deprecated in early 2020. Note: we already disable flash anyway in pref 1803.
2019-09-01 21:03:53 +00:00
Thorin-Oakenpants
b47982bb9a 2030: again 2019-09-01 20:32:53 +00:00
Thorin-Oakenpants
0691b8babe 2032: fix description
from earthlng 
> it blocks **all media** autoplay "until in foreground", not just audio.
> Source: https://dxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/browser-custom-element.js#1141
2019-09-01 19:22:28 +00:00
Thorin-Oakenpants
8d1c95c650 2030: autoplay changes
When ESR60 hits end of life, we should remove that value 2
2019-09-01 19:16:36 +00:00
Thorin-Oakenpants
19484e1a56 2805: see #774 2019-09-01 14:47:17 +00:00
Thorin-Oakenpants
755ebf88fb start 69 commits 2019-09-01 06:27:24 +00:00
Thorin-Oakenpants
d26ea4f39e 68 final 2019-08-31 14:51:08 +00:00
Thorin-Oakenpants
a0f3da208f 0390: better reference
- EFF has pretty pictures and stuff and explains the issues (replaces wikipedia which people can still search for)
- tor issue doesn't hold anything important (out it goes)
- moz wiki page I'll leave in for the bugzilla links if someone wants to research how it's all meant to work
2019-08-28 16:33:06 +00:00
Thorin-Oakenpants
5166811bd5 1003: closes #772 2019-08-21 13:01:12 +00:00
Thorin-Oakenpants
86bfdd1470 tweak: middlemouse.paste for Linux 2019-08-21 04:08:40 +00:00
Thorin-Oakenpants
90ef9e63eb oophs I meant 68-beta 2019-08-19 04:54:30 +00:00
Thorin-Oakenpants
f2200fd442 68-alpha (for earthlng diffs) 2019-08-19 04:52:53 +00:00
Thorin-Oakenpants
aff595b6ea 1704: remove the obvious 2019-08-04 19:17:38 +00:00
Thorin-Oakenpants
6618bf5f76 media.autoplay.allow-muted, closes #756 2019-07-23 14:02:26 +00:00
Thorin-Oakenpants
9aa8e27ef4 68 deprecated 2019-07-17 10:09:39 +00:00
Thorin-Oakenpants
9c782fbf57 2032: add default 2019-07-15 17:07:35 +00:00
Thorin-Oakenpants
931462b30b RFP stuff
https://hg.mozilla.org/mozilla-central/rev/c96e81ba64f3#l1.14
2019-07-15 16:16:39 +00:00
Thorin-Oakenpants
217553b367 dom.forms.datetime
https://bugzilla.mozilla.org/show_bug.cgi?id=1492587
2019-07-15 15:54:23 +00:00
Aeriem
469bbc1ab3 remove 0864 (#760)
https://bugzilla.mozilla.org/show_bug.cgi?id=1492587
2019-07-16 03:49:14 +12:00
Thorin-Oakenpants
11dcc54b61 0321 tweak
`url` and `discover` prefs stop the recommendations, the `enabled` pref hides the leftover recommended section and "Find more add-ons" button
2019-07-09 03:16:40 +00:00
claustromaniac
d40d7dbabd 0805 test info 2019-06-30 10:32:38 -03:00
Thorin-Oakenpants
b80c515e88 2010: WebGL setup tag #605 2019-06-29 02:52:41 +00:00
Thorin-Oakenpants
ed735f875c 2001: WebRTC setup tag #605 2019-06-29 02:44:37 +00:00
Thorin-Oakenpants
55b720faec letterboxing, add setup tag see #728 2019-06-28 05:30:43 +00:00
Thorin-Oakenpants
31567c7938 0321: recommendations discovery in about:addons 2019-06-28 05:00:19 +00:00
Thorin-Oakenpants
8f939c91fe 0320: UI change : get add-ons->recommendations 2019-06-28 04:47:55 +00:00
Thorin-Oakenpants
27bd07d496 5000s: userChrome / userContent 2019-06-28 04:22:50 +00:00
Thorin-Oakenpants
42281a9e52 2212: popup events 2019-06-28 04:15:54 +00:00
Thorin-Oakenpants
8f40c97fd1 the return of the jedi
https://bugzilla.mozilla.org/show_bug.cgi?id=1444133
2019-06-28 04:11:46 +00:00
Thorin-Oakenpants
9642452c48 Update troubleshooting-help.md (#749) 2019-06-28 02:30:10 +12:00
Thorin-Oakenpants
8f1c3018ca Update user-js.md (#750) 2019-06-28 02:29:58 +12:00
claustromaniac
f85eb9d0c2 update issue templates 2019-06-26 23:09:01 -03:00
earthlng
408a992893 Update .gitattributes 2019-06-26 13:32:12 +00:00
Thorin-Oakenpants
23c884a5f8 prefs no longer hidden 2019-06-26 10:14:24 +00:00
Thorin-Oakenpants
51089fbad9 start 68-alpha 2019-06-26 10:12:48 +00:00
Thorin-Oakenpants
83b4ada670 67 archive 2019-06-26 09:05:08 +00:00
claustromaniac
7df6c676be Update issue templates 2019-06-25 18:59:58 -03:00
Thorin-Oakenpants
e338186953 4500 fix alignment 2019-06-15 16:47:25 +00:00
Thorin-Oakenpants
fa61a7c25b 1202: cleanup
I don't think we need a 4 yr old article to explain the concept of `.min` (or `.max`), it's pretty self explanatory (and SSL 3 is obsolete). Three lines of text culled, and one of the remaining http links eliminated as a bonus. Enjoy the saved bytes and mouse-scrolling.
2019-06-15 16:34:29 +00:00
claustromaniac
dafd0894e6 refactoring, mostly
De-duplicates many lines because the -ESR and -RFPalts options require too much boilerplate garbage. The script was unreadable enough without repeating code.

I don't think these changes deserve opening yet another PR, but please let me know if you disagree.
2019-06-12 18:30:08 -03:00
Thorin-Oakenpants
06cf53d63e layout.css.font-loading-api.enabled #744, #731 2019-06-12 13:35:05 +00:00
Thorin-Oakenpants
fc545b4d27 remove 1406 css font loading api #744, #731 2019-06-12 13:33:58 +00:00
earthlng
3c5f58b812 Update updater.bat 2019-06-12 10:52:46 +00:00
claustromaniac
7d7f580bfc add -RFPalts option (#745) 2019-06-12 10:51:25 +00:00
Thorin-Oakenpants
ca5d6b3317 1402: inactive prefs for default fonts, #744 2019-06-11 15:50:08 +00:00
Thorin-Oakenpants
9e7f9de56f remove 1402, see #744 2019-06-11 15:47:34 +00:00
Thorin-Oakenpants
8a204b5db0 font.blacklist.underline_offset, #744 2019-06-11 15:10:44 +00:00
Thorin-Oakenpants
690a93b71d remove: 1407, see #744 2019-06-11 15:09:24 +00:00
claustromaniac
0da3835a49 updater.bat -ESR option (#742) 2019-06-11 12:43:27 +00:00
Thorin-Oakenpants
a92c4086bb 2622: middlemouse.paste, closes #735 2019-06-10 00:38:20 +00:00
Thorin-Oakenpants
9b7771fe76 1401: document fonts => active, see #731
- https://github.com/ghacksuserjs/ghacks-user.js/issues/731#issuecomment-500255686
- reverting my change from last release
2019-06-10 00:06:15 +00:00
Thorin-Oakenpants
2265b73521 1406: css.font-loading-api=> inactive, closes #731 2019-06-09 23:56:40 +00:00
Thorin-Oakenpants
01aae1b346 2426: IntersectionObserver=> inactive, closes #737 2019-06-09 23:29:58 +00:00
Thorin-Oakenpants
c2dbdcd4ec toolkit.telemetry.cachedClientID, #739 2019-06-07 17:51:49 +00:00
Thorin-Oakenpants
f53b996cfa toolkit.telemetry.cachedClientID, closes #739
Read the linked issue
2019-06-07 17:49:42 +00:00
Thorin-Oakenpants
a633622d11 67-beta 2019-05-28 14:45:07 +00:00
Thorin-Oakenpants
caaf76e3fb remove 2705 2019-05-28 14:42:44 +00:00
Thorin-Oakenpants
8811a28c56 2705: document.cookie max lifetime
https://bugzilla.mozilla.org/show_bug.cgi?id=1529836
2019-05-28 14:04:09 +00:00
Thorin-Oakenpants
fdc9db9a08 1600s revamp
- no need to enforce defaults (except the second cross-origin) = less items in prefs and about:support
- simplify header info
- add in that you need an extension for real control: i.e for most people, e.g I use uMatrix and have never can to whitelist anything. Kolanich has been on settings of 2 for years and only found one broken site: these are anecdotal and don;t reflect the real world: which is why the settings are pretty relaxed
- move the broken info out of header and onto the pref in a setup tag
- reference: https://github.com/ghacksuserjs/ghacks-user.js/issues/716#issuecomment-488527274
- thanks Kolanich and 🐈
2019-05-26 08:43:12 +00:00
Thorin-Oakenpants
c079c3c632 0110: clean up 2019-05-26 06:07:41 +00:00
Thorin-Oakenpants
6f76a9bfd2 2030 new default 2019-05-26 05:51:13 +00:00
Thorin-Oakenpants
dfab1516ef FF67+ deprecated 2019-05-26 05:33:57 +00:00
Thorin-Oakenpants
57339d09b1 2618 -> RFP ALTs 2019-05-26 05:16:17 +00:00
Thorin-Oakenpants
ed23a88c08 save 87bytes 2019-05-24 22:50:24 +00:00
Thorin-Oakenpants
dae1087082 2660 enabledScopes, closes #729 2019-05-23 21:11:45 +00:00
Thorin-Oakenpants
7a103b0c23 FPI: 1330467 backed out
now that stable has landed.. I'll leave the text in place
2019-05-21 22:23:23 +00:00
Thorin-Oakenpants
5d5a9acaa4 FPI: 69+ isolate pdfjs range-based requests 2019-05-14 06:48:49 +00:00
Thorin-Oakenpants
76c476ee3c 2204: replace [test]
old test: https://developer.mozilla.org/samples/domref/fullscreen.html
- for me the video comes up as "no video with supported format and mime type", so may not be practical for all users
2019-05-12 13:52:53 +00:00
Thorin-Oakenpants
b3c6561ba8 2203: change [test]
It's the same test (thanks gk)
2019-05-12 13:44:12 +00:00
Thorin-Oakenpants
a4c2bb80aa 2429 remove default tag 2019-05-12 02:48:06 +00:00
Thorin-Oakenpants
a173d30d4e RFP 68+ isolate site permissions 2019-05-10 22:34:24 +00:00
Thorin-Oakenpants
fc801db06a RFP stuff 2019-05-08 15:43:41 +00:00
Thorin-Oakenpants
61ce537f20 Delete exceptions03.png 2019-05-08 09:19:55 +00:00
Thorin-Oakenpants
7a766cd2a7 Delete exceptions02.png 2019-05-08 09:19:45 +00:00
Thorin-Oakenpants
842a78692e Delete exceptions01.png 2019-05-08 09:19:32 +00:00
Thorin-Oakenpants
540f5ce868 FF68+ letterboxing changes 2019-05-08 05:18:16 +00:00
Thorin-Oakenpants
be7c50c198 spring cleaning, part 3: closes #716 2019-05-05 17:33:16 +00:00
Thorin-Oakenpants
473e88c784 spring cleaning, part 3: see #716 2019-05-05 17:28:47 +00:00
Thorin-Oakenpants
da4cfce10f RFP: OS spoof changes FF68+ 2019-05-03 13:19:55 +00:00
Thorin-Oakenpants
2a30436905 moar fixups 2019-05-03 07:49:47 +00:00
Thorin-Oakenpants
7f6d7c6a52 fixups 2019-05-03 07:48:12 +00:00
Thorin-Oakenpants
720253eca3 dom.imagecapture.enabled 2019-05-03 07:36:55 +00:00
Thorin-Oakenpants
7394f2f553 2027: remove, #716
default false since forever
2019-05-03 07:36:04 +00:00
Thorin-Oakenpants
ccec62f66b SB reporting URLs, closes #710
- the two reportURLs required the user to actively opt to send a report
- the other five reporting URLs use Mozilla domains, which is not a problem. Not entirely sure if they get used or how, don't care
- the dataSharingURL is not needed, the corresponding .enabled pref is sufficent
2019-05-03 02:09:35 +00:00
Thorin-Oakenpants
329719fe25 0400s: more cleanup, see #710 2019-05-03 02:03:56 +00:00
Thorin-Oakenpants
57f4bd46e9 spring cleaning, closes #716 2019-05-03 00:41:08 +00:00
Thorin-Oakenpants
59a85bcdda spring cleaning, part 2: see #716
- 0910 same as default for desktop. Android is the opposite, must be for a reason. Android is not really my concern.
- 1005: always been inactive: one less warning to deal with
- 1008: always been inactive. defaults are 60, 60
2019-05-03 00:35:04 +00:00
Thorin-Oakenpants
dab27cd143 spring cleaning, part 1: see #716
All of these are the same as default, checked back to ESR60 and Ff60. Except 2211 which is not considered an issue by TB for example, and it doesn't enhance anything IMO
2019-05-03 00:09:05 +00:00
Thorin-Oakenpants
1ff14e31c0 1201: TLS max -> inactive
Lets be consistent, we don't make min active as it alters your FP, and the risk is super low (updated the telemetry stat: down from 2% to 0.5%). Default max is now 4 anyway (don't care about ESR - they should be using the v60 archive).
2019-05-02 00:47:14 +00:00
Thorin-Oakenpants
c55ecbd8b2 0701: IPv6, MOAR info 2019-05-02 00:30:27 +00:00
Thorin-Oakenpants
99eb835e7a merge 0603 + 0608
- also remove reference which is pretty much useless
2019-04-30 14:26:48 +00:00
Thorin-Oakenpants
1e0b3d74f9 browser.urlbar.userMadeSearchSuggestionsChoice
- a user can click the one-off prompt when they first see it
- it's also set when you go changing search suggestions in options
2019-04-30 13:51:13 +00:00
Thorin-Oakenpants
7bb0bfefe1 combine search suggestions, add tag, see #609
also remove `browser.urlbar.userMadeSearchSuggestionsChoice`
2019-04-30 13:46:41 +00:00
Thorin-Oakenpants
f1d28f3878 pedantic aphabetical sorting 2019-04-30 10:10:59 +00:00
Thorin-Oakenpants
57618a31dc fixups 2019-04-30 10:05:03 +00:00
Thorin-Oakenpants
600f9677e9 1820+1825+1830 changes, closes #709 2019-04-30 09:10:42 +00:00
Thorin-Oakenpants
0d40613268 2 x update prefs, see #709 2019-04-30 08:26:59 +00:00
Thorin-Oakenpants
11f40f8a84 1800s remove: gmp/cdm update prefs, see #709 2019-04-30 08:25:06 +00:00
Thorin-Oakenpants
c3a74a7c6e 2615: remove obsolete note
1445942 was resolved in FF66
2019-04-30 07:21:08 +00:00
Thorin-Oakenpants
4dd40bddcc 2 x gmp openh264 2019-04-29 18:22:39 +00:00
Thorin-Oakenpants
9da3cf4be8 1840: openh264: remove, see #709
Instead of being inactive, remove this. WebRTC is already blocked. And it can also be controlled by 1820. Redundant and does nothing extra for privacy, security etc
2019-04-29 18:21:01 +00:00
Thorin-Oakenpants
50869a734f [setup-*] always goes after [notes] 2019-04-29 18:13:47 +00:00
Thorin-Oakenpants
bb788682c9 fixup: remove duplicate pref 2019-04-29 17:44:53 +00:00
Thorin-Oakenpants
50afeb1861 0205: -> inactive, closes #0707 2019-04-29 17:14:23 +00:00
Thorin-Oakenpants
0eb107abf3 3 x plugin prefs, see #714 2019-04-29 11:14:50 +00:00
Thorin-Oakenpants
675577fb8d 1800: remove redundant flash prefs, closes #714 2019-04-29 11:12:05 +00:00
Thorin-Oakenpants
b28677a594 1825: widevine update to inactive, see #709
- at worse, the update pref causes a security risk. I'll leave it in for now
2019-04-29 06:32:47 +00:00
Thorin-Oakenpants
48f3dfec84 browser.safebrowsing.downloads.remote.url 2019-04-29 05:31:17 +00:00
Thorin-Oakenpants
59930d4697 0402, remove redundant pref, see #709 2019-04-29 05:29:53 +00:00
Thorin-Oakenpants
579aa3aa9c 0402: tidy up, see #710 2019-04-29 05:27:16 +00:00
Thorin-Oakenpants
ed687fc7ca 1820: update -> inactive, see #709
At best disabling the background update of gmp means not only an extra item for those who wish to use it (e.g widevine, netflix) to have to deal with, but also a time delay in getting the actual download. At worst, it could cause users to use an old dll (security risk).

I will leave it in, for now, but am seriously considering removing it, so don't cry if I do.
2019-04-29 05:06:43 +00:00
Thorin-Oakenpants
ce3d5a8cbe 24 inactive SB+TP prefs, see #710 2019-04-29 04:52:58 +00:00
Thorin-Oakenpants
8ffbd81813 remove SB & TP see #710
- SB: disabling it nothing to enhance privacy/security etc if changed from default
- SB: I will not provide the prefs or encourage users to disable these, especially given that there is a UI
- SB: the urls are redundant
- SB: note: the binary checks stays
- TP section is out of date (or soon will be), I'm not maintaining it, it has a UI and is best handled there
2019-04-29 04:30:59 +00:00
Thorin-Oakenpants
4119be3a86 typo 2019-04-28 13:10:04 +00:00
Thorin-Oakenpants
8d874401fa pre FF61 deprecated -> archive
This is all archived in the sticky at the end of the first post
2019-04-28 12:56:27 +00:00
Thorin-Oakenpants
b4a4856223 3 x GMP prefs, see #709 2019-04-28 11:12:11 +00:00
Thorin-Oakenpants
8a86097997 1820s: GMP: remove three prefs, see #709 2019-04-28 11:10:15 +00:00
Thorin-Oakenpants
7a9763d129 2740: add setup tag etc, closes #706 2019-04-28 04:30:38 +00:00
Thorin-Oakenpants
a39516ff0e case consistency when using service worker* 2019-04-28 04:02:19 +00:00
Thorin-Oakenpants
3e5e1bfdd2 2740 -> inactive, see #706 2019-04-28 03:48:55 +00:00
Thorin-Oakenpants
7b667db766 2304 + 2305 -> inactive, see #706 2019-04-28 03:37:07 +00:00
Thorin-Oakenpants
8f1a489e36 3 update prefs, see #708 2019-04-28 02:58:35 +00:00
Thorin-Oakenpants
6f8d0263df 0303 + 0304 + 0305: remove, closes #708 2019-04-28 02:55:45 +00:00
Thorin-Oakenpants
25b8b404fb 2305+2306: musical chairs #706 2019-04-27 19:02:14 +00:00
Thorin-Oakenpants
528d0de6b4 2305: permission also applies to push 2019-04-27 17:39:53 +00:00
Thorin-Oakenpants
c9c1671e4a 2010+2012: simplify WebGL, closes #699 2019-04-27 16:18:48 +00:00
Thorin-Oakenpants
8765231de0 0801: keyword.enabled, closes #702
- explain pitfalls, add keyword tip, add setup tag
- given the searchbar is hidden by default in new FF installs, a lot of people could find this incredibly annoying (not being able to hit enter), including users who have changed their search engine - hence the setup tag
2019-04-27 16:12:25 +00:00
Thorin-Oakenpants
e6017af4bd 3 disk cache prefs
see 053808ba97
2019-04-27 14:06:48 +00:00
Thorin-Oakenpants
053808ba97 1001: remove dead wood
- these are not needed, you can view your cache in about:cache, or look at your `profile/cache2` folder (at least for portable Firefox), the remaining pref is enough to achieve the desired result
- browser.cache.disk.smart_size.first_run is set internally (for me it got automatically reset to modified false)
- the other two prefs are just more things for users to have deal with if they want to use disk cache
2019-04-27 14:03:02 +00:00
Thorin-Oakenpants
2d0182ce6e 1001: add setup tag
- remove tag from section header (chrome)
- add tag to pref (perf)
- mention that we clear on close
2019-04-27 13:53:02 +00:00
Thorin-Oakenpants
98f65da430 remove dead setup tags 2019-04-27 07:33:30 +00:00
Thorin-Oakenpants
6a0c44d0a4 2517: should be warning, not setup
If it's inactive then it's a warning. We can still go through the js and add setup-harden tags for a few inactive items, which I will do
2019-04-27 07:03:28 +00:00
Thorin-Oakenpants
882d25f725 2610: SVG: should be warning, not setup 2019-04-27 07:00:40 +00:00
Thorin-Oakenpants
c3210d1be9 1241: insecure passive: add setup tag 2019-04-27 06:55:58 +00:00
Thorin-Oakenpants
d4f7590c83 2212: add setup tag
- doesn't need any more than that. users can fiddle with it to find what works for them: I'm sure this breaks a lot of website "features"
2019-04-24 08:39:11 +00:00
Thorin-Oakenpants
d6ccf7ba64 0860 form history: add setup tag / warning
- Used setup-web since it relates to actual web pages, even though it doesn't break them
- Added the tag because it's an item that is likely to get attention / troubleshooting
- Added a warning tag to make the risk more apparent.
- Slight edit to the 2803 references
2019-04-24 08:12:31 +00:00
Thorin-Oakenpants
0922215670 1840 openh264 -> inactive
WebRTC is already disabled
2019-04-24 07:46:47 +00:00
Thorin-Oakenpants
f849e1c602 WOFF2 -> inactive 2019-04-24 06:39:59 +00:00
Thorin-Oakenpants
986c900193 RFP tidy up 2019-04-23 05:50:35 +00:00
Thorin-Oakenpants
b8367959da mathml: a better test 2019-04-23 05:33:06 +00:00
Thorin-Oakenpants
b05cfc32de HTTP2 tweak 2019-04-23 04:04:22 +00:00
Thorin-Oakenpants
358ddfdfce pdfjs - add setup tag 2019-04-22 15:38:26 +00:00
Thorin-Oakenpants
8a68fc48c5 pdfjs.enableWebGL 2019-04-22 15:21:16 +00:00
Thorin-Oakenpants
87959d621c 2010: remove pdf webgl
it's default false, and I want to simplify webgl 2010+2012
2019-04-22 15:20:16 +00:00
Thorin-Oakenpants
8b07fd57d0 canvas.capturestream.enabled 2019-04-22 14:35:51 +00:00
Thorin-Oakenpants
4989928c1e 2026: remove (canvas.capture*)
Disabled back when first added as a stop gap measure, never checked on since. TB has this at true, so I think we can get rid of it
2019-04-22 14:34:07 +00:00
Thorin-Oakenpants
c2775a3441 0860 form history info, closes #691 2019-04-22 14:15:58 +00:00
Thorin-Oakenpants
50d31a7aa2 2701 cookies add setup-web tag 2019-04-22 13:31:15 +00:00
Thorin-Oakenpants
9fbe3080c5 2651: add setup-chrome tag 2019-04-22 13:28:07 +00:00
Thorin-Oakenpants
8a98cd1890 tidying up 2019-04-22 13:12:47 +00:00
Thorin-Oakenpants
2d62b9f729 2654 (open with) -> inactive 2019-04-22 12:23:39 +00:00
Thorin-Oakenpants
bb7f8df647 2650 -> inactive 2019-04-22 12:16:33 +00:00
Thorin-Oakenpants
373602f0f0 mathml -> inactive 2019-04-22 12:12:30 +00:00
Thorin-Oakenpants
e56665ecd1 HWA -> inactive 2019-04-22 12:05:21 +00:00
Thorin-Oakenpants
59d056de27 document fonts -> inactive 2019-04-22 12:00:46 +00:00
Thorin-Oakenpants
d41372a7f0 2421 should be a warning
it's not setup tag, because any change (it is inactive) does not help performance, in fact the opposite
2019-04-22 11:50:01 +00:00
Thorin-Oakenpants
f62f781645 HTTP2 -> inactive 2019-04-22 11:41:34 +00:00
Thorin-Oakenpants
408d1d0e26 FPI 68+ change 2019-04-19 05:54:57 +00:00
Thorin-Oakenpants
d491cf1e89 readme changes 2019-04-19 02:11:21 +00:00
Thorin-Oakenpants
ca0f2a5a88 0302b-> inactive: ext auto-updates closes #690 2019-04-19 01:39:07 +00:00
Thorin-Oakenpants
fd10c35049 0606 some default info 2019-04-17 03:31:27 +00:00
Thorin-Oakenpants
6ed3581cb0 5000s: CRF 67+ 2019-04-15 16:31:17 +00:00
Thorin-Oakenpants
c2034617f0 2429 default true 67+ 2019-04-15 14:59:23 +00:00
Thorin-Oakenpants
6231d6ebed 5000s add new about:config warning pref 2019-04-15 14:54:55 +00:00
Thorin-Oakenpants
411805b05c 2618 no longer hidden 67+ 2019-04-15 14:49:22 +00:00
Thorin-Oakenpants
8c12f4bb14 1840 no longer hidden 67+ 2019-04-15 14:46:39 +00:00
Thorin-Oakenpants
e3349d0f07 2212 defaults [67+ change] 2019-04-15 14:17:52 +00:00
Thorin-Oakenpants
92082621d6 start 67 commits 2019-04-15 14:15:54 +00:00
16 changed files with 977 additions and 1263 deletions

1
.gitattributes vendored
View File

@@ -13,3 +13,4 @@
.gitattributes export-ignore
*.yml export-ignore
/wikipiki export-ignore
/.github export-ignore

18
.github/ISSUE_TEMPLATE/tools.md vendored Normal file
View File

@@ -0,0 +1,18 @@
---
name: Tools
about: Report issues with the updaters, the troubleshooter, or any other tools.
title: ''
labels: ''
assignees: ''
---
<!--
Please specify:
- the name of the file (i.e. updater.bat, updater.sh)
- steps to reproduce the issue
- actual result
- expected result
Blank out this field before typing, or start typing after the next line.
-->

View File

@@ -0,0 +1,29 @@
---
name: Troubleshooting help
about: Ask for help to solve problems with user.js
title: ''
labels: ''
assignees: ''
---
Before you proceed...
- Issues will be closed as invalid if you do not [troubleshoot](https://github.com/ghacksuserjs/ghacks-user.js/wiki/1.4-Troubleshooting), including
- confirming the problem is caused by the `user.js`
- searching the `[Setup` tags in the `user.js`
- Search the GitHub repository. The information you need is most likely here already.
- Note: We do not support forks
See also:
- Extension breakage due to prefs [issue 391](https://github.com/ghacksuserjs/ghacks-user.js/issues/391)
- Prefs vs Recommended Extensions: Co-Existance+Enhancement | Conflicts [issue 350](https://github.com/ghacksuserjs/ghacks-user.js/issues/350)
- The extension CSP header modification game [issue 664](https://github.com/ghacksuserjs/ghacks-user.js/issues/664)
If you still need help, help us help you by providing relevant information:
- browser version
- Steps to Reproduce (STR)
- actual result
- expected result
- anything else you deem worth mentioning
Clear all of this when you're ready to type.

15
.github/ISSUE_TEMPLATE/user-js.md vendored Normal file
View File

@@ -0,0 +1,15 @@
---
name: user.js
about: Suggest changes to user.js
title: ''
labels: ''
assignees: ''
---
We value feedback in general, but we value feedback from informed users more. There is no need for you to be an expert to participate (most of us aren't), but we hope that you at least understand our decisions before questioning them. We discuss all changes openly, and we do not make changes lightly. So, if you don't understand why we decided to add/remove/change a certain pref, search the repo. The answer is most certainly here.
If some change we made took you by surprise (in the wrong way), remember that keeping track of changes is your responsibility. Watch the repo, read the [changelogs](https://github.com/ghacksuserjs/ghacks-user.js/issues?utf8=✓&q=is%3Aissue+label%3Achangelog), compare [releases](https://github.com/ghacksuserjs/ghacks-user.js/releases) as you update your copy of user.js, or use any other method you prefer.
Clear all of this when you're ready to type.

View File

@@ -8,7 +8,7 @@ Everyone, experts included, should at least read the [implementation](https://gi
Note that we do *not* recommend connecting over Tor on Firefox. Use the [Tor Browser](https://www.torproject.org/projects/torbrowser.html.en) if your [threat model](https://www.torproject.org/about/torusers.html.en) calls for it, or for accessing hidden services.
Also be aware that this `user.js` is made specifically for Firefox. Using it as-is in other Gecko-based browsers can be counterproductive, especially in the Tor Browser.
Also be aware that this `user.js` is made specifically for desktop Firefox. Using it as-is in other Gecko-based browsers can be counterproductive, especially in the Tor Browser.
Sitemap: [Releases](https://github.com/ghacksuserjs/ghacks-user.js/releases), [changelogs](https://github.com/ghacksuserjs/ghacks-user.js/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3Achangelog), [Wiki](https://github.com/ghacksuserjs/ghacks-user.js/wiki), [stickies](https://github.com/ghacksuserjs/ghacks-user.js/issues?q=is%3Aissue+is%3Aopen+label%3A%22sticky+topic%22). [diffs](https://github.com/ghacksuserjs/ghacks-user.js/issues?q=is%3Aissue+label%3Adiffs)
@@ -18,7 +18,7 @@ Literally thousands of sources, references and suggestions. That said...
* Martin Brinkmann at [ghacks](https://www.ghacks.net/) <sup>1</sup>
* The ghacks community and commentators
* [12bytes](https://12bytes.org/articles/tech/firefox/firefoxgecko-configuration-guide-for-privacy-and-performance-buffs)
* The 12bytes article now uses this user.js and supplements it with an additional JS hosted at [GitLab](https://gitlab.com/labwrat/Firefox-user.js/tree/master)
* The 12bytes article now uses this user.js and supplements it with an additional JS hosted at [Codeberg](https://codeberg.org/12bytes.org/Firefox-user.js-supplement)
<sup>1</sup> The ghacks user.js was an independent project by [Thorin-Oakenpants](https://github.com/Thorin-Oakenpants) started in early 2015 and was [first published](https://www.ghacks.net/2015/08/18/a-comprehensive-list-of-firefox-privacy-and-security-settings/) at ghacks in August 2015. With Martin Brinkmann's blessing, it will keep the ghacks name.

View File

@@ -2,7 +2,7 @@
## prefs.js cleaner for Linux/Mac
## 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
@@ -27,7 +27,7 @@ fQuit() {
fFF_check() {
# 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
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"
read -p "Press any key to continue."
done
@@ -58,7 +58,7 @@ echo -e "\n\n"
echo " ╔══════════════════════════╗"
echo " ║ prefs.js cleaner ║"
echo " ║ by claustromaniac ║"
echo " ║ v1.1 ║"
echo " ║ v1.2 ║"
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

@@ -1,6 +1,6 @@
/***
This will reset the preferences that are under sections 4600 & 4700 in the ghacks user.js
up to and including release 60-beta. These are the prefs that are no longer necessary,
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.
For instructions see:
@@ -22,6 +22,8 @@
'dom.w3c_touch_events.enabled',
'media.ondevicechange.enabled',
'webgl.enable-debug-renderer-info',
'dom.w3c_pointer_events.enabled',
'ui.use_standins_for_native_colors',
/* section 4700 */
'general.useragent.override',
'general.buildID.override',

View File

@@ -1,6 +1,6 @@
/***
This will reset the preferences that have been deprecated by Mozilla
and used in the ghacks user.js up to and including release 60-beta
and used in the ghacks user.js up to and including Firefox/ESR 68
It is in reverse order, so feel free to remove sections that do not apply
@@ -12,8 +12,43 @@
let ops = [
/* deprecated */
/* ESR52.x users can remove sections 53-60 but it is not
crucial as your user.js will reinstate them */
/* 68 */
'browser.newtabpage.activity-stream.disableSnippets',
'browser.aboutHomeSnippets.updateUrl',
'lightweightThemes.update.enabled',
'security.csp.experimentalEnabled',
/* F67 */
'dom.event.highrestimestamp.enabled',
'browser.newtabpage.activity-stream.asrouter.userprefs.cfr',
/* 66 */
'browser.chrome.errorReporter.enabled',
'browser.chrome.errorReporter.submitUrl',
'network.allow-experiments',
/* 65 */
'browser.urlbar.autocomplete.enabled',
'browser.fixup.hide_user_pass',
/* 64 */
'browser.onboarding.enabled',
'devtools.webide.autoinstallADBHelper',
'devtools.webide.adbAddonURL',
'security.csp.enable_violation_events',
/* 63 */
'browser.search.countryCode',
'app.update.enabled',
'shield.savant.enabled',
'browser.chrome.favicons',
'media.autoplay.enabled',
'network.cookie.lifetime.days',
'browser.ctrlTab.previews',
/* 62 */
'plugin.state.java',
/* 61 */
'experiments.enabled',
'experiments.manifest.uri',
'experiments.supported',
'experiments.activeExperiment',
'network.jar.block-remote-files',
'network.jar.open-unsafe-types',
/* 60 */
'browser.newtabpage.directory.source',
'browser.newtabpage.enhanced',
@@ -22,7 +57,6 @@
'extensions.shield-recipe-client.api_url',
'browser.newtabpage.activity-stream.enabled',
'dom.workers.enabled',
'view_source.tab',
/* 59 */
'intl.locale.matchOS',
'general.useragent.locale',
@@ -76,8 +110,6 @@
'plugin.scan.WindowsMediaPlayer',
'media.getusermedia.screensharing.allow_on_old_platforms',
'dom.beforeAfterKeyboardEvent.enabled',
/* End of ESR52.x section */
/* 52 */
'network.http.sendSecureXSiteReferrer',
'media.gmp-eme-adobe.enabled',

View File

@@ -1,7 +1,7 @@
/***
This will reset the preferences that have been removed completely from the ghacks user.js.
Last updated: 30-Jan-2019
Last updated: 12-April-2020
For instructions see:
https://github.com/ghacksuserjs/ghacks-user.js/wiki/3.1-Resetting-Inactive-Prefs-[Scripts]
@@ -120,6 +120,107 @@
/* 65-beta */
'browser.contentblocking.enabled',
'browser.urlbar.maxHistoricalSearchSuggestions',
/* 67-beta */
'app.update.service.enabled',
'app.update.silent',
'app.update.staging.enabled',
'browser.cache.disk.capacity',
'browser.cache.disk.smart_size.enabled',
'browser.cache.disk.smart_size.first_run',
'browser.cache.offline.insecure.enable',
'browser.safebrowsing.downloads.remote.url',
'browser.safebrowsing.provider.google.reportMalwareMistakeURL',
'browser.safebrowsing.provider.google.reportPhishMistakeURL',
'browser.safebrowsing.provider.google.reportURL',
'browser.safebrowsing.provider.google4.dataSharing.enabled',
'browser.safebrowsing.provider.google4.dataSharingURL',
'browser.safebrowsing.provider.google4.reportMalwareMistakeURL',
'browser.safebrowsing.provider.google4.reportPhishMistakeURL',
'browser.safebrowsing.provider.google4.reportURL',
'browser.safebrowsing.reportPhishURL',
'browser.sessionhistory.max_total_viewers',
'browser.urlbar.filter.javascript',
'canvas.capturestream.enabled',
'dom.imagecapture.enabled',
'dom.popup_maximum',
'gfx.offscreencanvas.enabled',
'javascript.options.shared_memory',
'media.gmp-gmpopenh264.autoupdate',
'media.gmp-gmpopenh264.enabled',
'media.gmp-manager.updateEnabled',
'media.gmp-manager.url',
'media.gmp-manager.url.override',
'media.gmp.trial-create.enabled',
'media.gmp-widevinecdm.autoupdate',
'network.cookie.leave-secure-alone',
'network.cookie.same-site.enabled',
'network.dnsCacheEntries',
'network.dnsCacheExpiration',
'network.proxy.autoconfig_url.include_path',
'pdfjs.enableWebGL',
'plugin.default.state',
'plugin.defaultXpi.state',
'plugin.scan.plid.all',
'security.data_uri.block_toplevel_data_uri_navigations',
'security.insecure_field_warning.contextual.enabled',
'security.insecure_password.ui.enabled',
'signon.autofillForms.http',
'signon.storeWhenAutocompleteOff',
'xpinstall.whitelist.required',
/* 67-beta: Blocklist, SB & TP cleanup: these were all inactive */
'browser.safebrowsing.downloads.remote.block_dangerous',
'browser.safebrowsing.downloads.remote.block_dangerous_host',
'browser.safebrowsing.blockedURIs.enabled',
'browser.safebrowsing.provider.google.gethashURL',
'browser.safebrowsing.provider.google.updateURL',
'browser.safebrowsing.provider.google4.gethashURL',
'browser.safebrowsing.provider.google4.updateURL',
'browser.safebrowsing.provider.mozilla.gethashURL',
'browser.safebrowsing.provider.mozilla.updateURL',
'browser.urlbar.userMadeSearchSuggestionsChoice',
'privacy.trackingprotection.annotate_channels',
'privacy.trackingprotection.enabled',
'privacy.trackingprotection.lower_network_priority',
'privacy.trackingprotection.pbmode.enabled',
'services.blocklist.addons.collection',
'services.blocklist.gfx.collection',
'services.blocklist.onecrl.collection',
'services.blocklist.plugins.collection',
'services.blocklist.update_enabled',
'urlclassifier.trackingTable',
/* 68-beta */
'dom.forms.datetime',
'font.blacklist.underline_offset',
'font.name.monospace.x-unicode',
'font.name.monospace.x-western',
'font.name.sans-serif.x-unicode',
'font.name.sans-serif.x-western',
'font.name.serif.x-unicode',
'font.name.serif.x-western',
'layout.css.font-loading-api.enabled',
'toolkit.telemetry.cachedClientID',
/* 69-beta */
'plugin.sessionPermissionNow.intervalInMinutes',
/* 70-beta */
'browser.cache.disk_cache_ssl',
'browser.sessionhistory.max_entries',
'dom.push.connection.enabled',
'dom.push.serverURL',
'extensions.getAddons.discovery.api_url',
'extensions.htmlaboutaddons.discover.enabled',
'extensions.webservice.discoverURL',
'intl.locale.requested',
'intl.regional_prefs.use_os_locales',
'privacy.usercontext.about_newtab_segregation.enabled',
'security.insecure_connection_icon.pbmode.enabled',
'security.insecure_connection_text.pbmode.enabled',
'webgl.dxgl.enabled',
/* 71-beta */
'media.block-autoplay-until-in-foreground',
'middlemouse.paste',
/* 75-beta */
'browser.search.geoip.url',
'browser.search.region',
/* reset parrot: check your open about:config after running the script */
'_user.js.parrot'
]

View File

@@ -1,65 +1,11 @@
/*** ghacks-user.js troubleshooter.js v1.5.2 ***/
/*** ghacks-user.js troubleshooter.js v1.6.1 ***/
(function() {
if("undefined" === typeof(Services)) {
alert("about:config needs to be the active tab!");
return;
}
if ("undefined" === typeof(Services)) return alert('about:config needs to be the active tab!');
function getMyList(arr) {
let aRet = [];
let dummy = 0;
for (let i = 0, len = arr.length; i < len; i++) {
if (Services.prefs.prefHasUserValue(arr[i])) {
dummy = Services.prefs.getPrefType(arr[i]);
switch (dummy) {
case 32: // string (see https://dxr.mozilla.org/mozilla-central/source/modules/libpref/nsIPrefBranch.idl#31)
dummy = Services.prefs.getCharPref(arr[i]);
aRet.push({'name':arr[i],'value': dummy,'type':32});
break;
case 64: // int
dummy = Services.prefs.getIntPref(arr[i]);
aRet.push({'name':arr[i],'value': dummy,'type':64});
break;
case 128: // boolean
dummy = Services.prefs.getBoolPref(arr[i]);
aRet.push({'name':arr[i],'value': dummy,'type':128});
break;
default:
console.log("error detecting pref-type for '"+arr[i]+"' !");
}
}
}
return aRet;
}
function reapply(arr) {
for (let i = 0, len = arr.length; i < len; i++) {
switch (arr[i].type) {
case 32: // string
Services.prefs.setCharPref(arr[i].name, arr[i].value);
break;
case 64: // int
Services.prefs.setIntPref(arr[i].name, arr[i].value);
break;
case 128: // boolean
Services.prefs.setBoolPref(arr[i].name, arr[i].value);
break;
default:
console.log("error re-appyling value for '"+arr[i].name+"' !"); // should never happen
}
}
}
function myreset(arr) {
for (let i = 0, len = arr.length; i < len; i++) {
Services.prefs.clearUserPref(arr[i].name);
}
}
let ops = [
const aPREFS = [
/* known culprits */
'network.cookie.cookieBehavior',
@@ -160,56 +106,108 @@
'last.one.without.comma'
]
// any runtime-set pref that everyone will have and that can be safely reset
const oFILLER = { type: 64, name: 'app.update.lastUpdateTime.browser-cleanup-thumbnails', value: 1580000000 };
// reset prefs that set the same value as FFs default value
let aTEMP = getMyList(ops);
myreset(aTEMP);
reapply(aTEMP);
function getMyList(arr) {
const aRet = [];
for (const sPname of arr) {
if (Services.prefs.prefHasUserValue(sPname)) {
const ptype = Services.prefs.getPrefType(sPname);
switch (ptype) {
case 32: // string (see https://dxr.mozilla.org/mozilla-central/source/modules/libpref/nsIPrefBranch.idl#31)
aRet.push({'type':ptype,'name':sPname,'value':Services.prefs.getCharPref(sPname)});
break;
case 64: // int
aRet.push({'type':ptype,'name':sPname,'value':Services.prefs.getIntPref(sPname)});
break;
case 128: // boolean
aRet.push({'type':ptype,'name':sPname,'value':Services.prefs.getBoolPref(sPname)});
break;
default:
console.log("error detecting pref-type for '"+sPname+"' !");
}
}
}
return aRet;
}
const aBACKUP = getMyList(ops);
//console.log(aBACKUP.length, "user-set prefs from our list detected and their values stored.");
function reapply(arr) {
for (const oPref of arr) {
switch (oPref.type) {
case 32: // string
Services.prefs.setCharPref(oPref.name, oPref.value);
break;
case 64: // int
Services.prefs.setIntPref(oPref.name, oPref.value);
break;
case 128: // boolean
Services.prefs.setBoolPref(oPref.name, oPref.value);
break;
default:
console.log("error re-appyling value for '"+oPref.name+"' !"); // should never happen
}
}
}
let myArr = aBACKUP;
let found = false;
let aDbg = [];
focus();
myreset(aBACKUP); // reset all detected prefs
if (confirm("all detected prefs reset.\n\n!! KEEP THIS PROMPT OPEN AND TEST THE SITE IN ANOTHER TAB !!\n\nIF the problem still exists, this script can't help you - click cancel to re-apply your values and exit.\n\nClick OK if your problem is fixed.")) {
aDbg = myArr;
reapply(aBACKUP);
myreset(myArr.slice(0, parseInt(myArr.length/2)));
while (myArr.length >= 2) {
function myreset(arr) {
for (const oPref of arr) Services.prefs.clearUserPref(oPref.name);
}
function resetAllMatchingDefault(arr) {
const aTmp = getMyList(arr);
myreset(aTmp);
reapply(aTmp);
}
function _main(aALL) {
const _h = (arr) => Math.ceil(arr.length/2);
let aTmp = aALL, aDbg = aALL;
reapply(aALL);
myreset(aTmp.slice(0, _h(aTmp)));
while (aTmp.length) {
alert("NOW TEST AGAIN !");
if (confirm("if the problem still exists click OK, otherwise click cancel.")) {
myArr = myArr.slice(parseInt(myArr.length/2));
if (myArr.length == 1) {
alert("The problem is caused by more than 1 pref !\n\nNarrowed it down to "+ aDbg.length.toString() +" prefs, check the console ...");
break;
}
aTmp = aTmp.slice(_h(aTmp));
} else {
myArr = myArr.slice(0, parseInt(myArr.length/2));
aDbg = myArr;
if (myArr.length == 1) { found = true; break; }
aTmp = aTmp.slice(0, _h(aTmp));
aDbg = aTmp; // update narrowed down list
if (aDbg.length == 1) break;
}
reapply(aBACKUP);
myreset(myArr.slice(0, parseInt(myArr.length/2))); // reset half of the remaining prefs
reapply(aALL);
myreset(aTmp.slice(0, _h(aTmp))); // reset half of the remaining prefs
}
reapply(aBACKUP);
reapply(aALL);
if (aDbg.length == 1) return alert("narrowed it down to:\n\n"+aDbg[0].name+"\n");
if (aDbg.length == aALL.length) {
let msg = "Failed to narrow it down beyond the initial "+aALL.length+" prefs. The problem is most likely caused by at least 2 prefs!\n\n";
msg += "Either those prefs are too far apart in the list or there are exactly 2 culprits and they just happen to be at the wrong place.\n\n";
msg += "In case it's the latter, the script can add a dummy pref and you can try again - Try again?";
if (confirm(msg)) return _main([...aALL, oFILLER]);
} else if (aDbg.length > 10 && confirm("Narrowed it down to "+aDbg.length+" prefs. Try narrowing it down further?")) {
return _main(aDbg.reverse());
}
alert("Narrowed it down to "+ aDbg.length.toString() +" prefs, check the console ...");
console.log("The problem is caused by 2 or more of these prefs:");
for (const oPref of aDbg) console.log(oPref.name);
}
else {
reapply(aBACKUP);
resetAllMatchingDefault(aPREFS); // reset user-set prefs matching FFs default value
const aBAK = getMyList(aPREFS);
//console.log(aBAK.length, "user-set prefs from our list detected and their values stored.");
focus();
myreset(aBAK);
if (!confirm("all detected prefs reset.\n\n!! KEEP THIS PROMPT OPEN AND TEST THE SITE IN ANOTHER TAB !!\n\nIF the problem still exists, this script can't help you - click cancel to re-apply your values and exit.\n\nClick OK if your problem is fixed.")) {
reapply(aBAK);
return;
}
if (found) {
alert("narrowed it down to:\n\n"+myArr[0].name+"\n");
myreset(myArr); // reset the culprit
}
else {
console.log("the problem is caused by a combination of the following prefs:");
for (let i = 0, len = aDbg.length; i < len; i++) {
console.log(aDbg[i].name);
}
}
_main(aBAK);
})();

View File

@@ -3,10 +3,10 @@ TITLE ghacks user.js updater
REM ## ghacks-user.js updater for Windows
REM ## author: @claustromaniac
REM ## version: 4.6
REM ## version: 4.10
REM ## instructions: https://github.com/ghacksuserjs/ghacks-user.js/wiki/3.3-Updater-Scripts
SET v=4.7
SET v=4.10
VERIFY ON
CD /D "%~dp0"
@@ -22,6 +22,8 @@ IF /I "%~1"=="-multioverrides" (SET _multi=1)
IF /I "%~1"=="-merge" (SET _merge=1)
IF /I "%~1"=="-updatebatch" (SET _updateb=1)
IF /I "%~1"=="-singlebackup" (SET _singlebackup=1)
IF /I "%~1"=="-esr" (SET _esr=1)
IF /I "%~1"=="-rfpalts" (SET _rfpalts=1)
SHIFT
GOTO parse
:endparse
@@ -82,7 +84,7 @@ ECHO:
ECHO: ########################################
ECHO: #### user.js Updater for Windows ####
ECHO: #### by claustromaniac ####
ECHO: #### v!v! ####
ECHO: #### v!v! ####
ECHO: ########################################
ECHO:
SET /A "_line=0"
@@ -131,6 +133,14 @@ CALL :message "Retrieving latest user.js file from github repository..."
PowerShell -Command "(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/ghacksuserjs/ghacks-user.js/master/user.js', 'user.js.new')"
) >nul 2>&1
IF EXIST user.js.new (
IF DEFINED _rfpalts (
CALL :message "Activating RFP Alternatives section..."
CALL :activate user.js.new "[SETUP-non-RFP]"
)
IF DEFINED _esr (
CALL :message "Activating ESR section..."
CALL :activate user.js.new ".x still uses all the following prefs"
)
IF DEFINED _multi (
FORFILES /P user.js-overrides /M *.js >nul 2>&1
IF NOT ERRORLEVEL 1 (
@@ -196,7 +206,7 @@ IF NOT DEFINED _log (
)
EXIT /B
REM ########### Message Function ###########
::::::::::::::: Message :::::::::::::::
:message
SETLOCAL DisableDelayedExpansion
IF NOT "2"=="%_log%" (ECHO:)
@@ -205,7 +215,28 @@ IF NOT "2"=="%_log%" (ECHO:)
ENDLOCAL
GOTO :EOF
REM ############ Merge function ############
::::::::::::::: Activate Section :::::::::::::::
:activate
:: arg1 = file
:: arg2 = line substring
SETLOCAL DisableDelayedExpansion
(
FOR /F "tokens=1,* delims=:" %%G IN ('FINDSTR /N "^" "%~1"') DO (
SET "_temp=%%H"
SETLOCAL EnableDelayedExpansion
IF "!_temp:%~2=!"=="!_temp!" (
ENDLOCAL & ECHO:%%H
) ELSE (
ECHO://!_temp:~2!
ENDLOCAL
)
)
)>updatertempfile
MOVE /Y updatertempfile "%~1" >nul
ENDLOCAL
GOTO :EOF
::::::::::::::: Merge :::::::::::::::
:merge
SETLOCAL DisableDelayedExpansion
FOR /F tokens^=2^,^*^ delims^=^'^" %%G IN ('FINDSTR /R /C:"^user_pref[ ]*\([ ]*[\"'].*[\"'][ ]*,.*\)[ ]*;" "%~1"') DO (SET "[%%G]=%%H")
@@ -244,11 +275,13 @@ MOVE /Y updatertempfile "%~1" >nul
ENDLOCAL
GOTO :EOF
REM ############### Help ##################
::::::::::::::: Help :::::::::::::::
:showhelp
MODE 80,46
MODE 80,54
CLS
CALL :message "Available arguments (case-insensitive):"
CALL :message " -esr"
ECHO: Activate ESR related preferences
CALL :message " -log"
ECHO: Write the console output to a logfile (user.js-update-log.txt)
CALL :message " -logP"
@@ -272,7 +305,9 @@ ECHO: Run without user input.
CALL :message " -singleBackup"
ECHO: Use a single backup file and overwrite it on new updates, instead of
ECHO: cumulative backups. This was the default behaviour before v4.3.
CALL :message " -updatebatch"
CALL :message " -rfpAlts"
ECHO: Activate RFP Alternatives section
CALL :message " -updateBatch"
ECHO: Update the script itself on execution, before the normal routine.
CALL :message ""
PAUSE

View File

@@ -2,7 +2,7 @@
## ghacks-user.js updater for macOS and Linux
## version: 2.5
## version: 2.6
## Author: Pat Johnson (@overdodactyl)
## Additional contributors: @earthlng, @ema-pe, @claustromaniac
@@ -313,8 +313,10 @@ update_userjs () {
# apply overrides
if [ "$SKIPOVERRIDE" = false ]; then
while IFS=',' read -ra FILE; do
add_override "$FILE"
while IFS=',' read -ra FILES; do
for FILE in "${FILES[@]}"; do
add_override "$FILE"
done
done <<< "$OVERRIDE"
fi

1767
user.js

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB