Quellcode durchsuchen

Add new prefs

main
Ashton Charbonneau vor 1 Jahr
Ursprung
Commit
a32c503ef1
3 geänderte Dateien mit 103 neuen und 71 gelöschten Zeilen
  1. 19
    6
      README.md
  2. 2
    0
      chrome/userChrome.css
  3. 82
    65
      user.js

+ 19
- 6
README.md Datei anzeigen

@@ -5,16 +5,18 @@
5 5
 - [uBlock Origin](https://addons.mozilla.org/firefox/addon/ublock-origin/)
6 6
 	- <https://www.i-dont-care-about-cookies.eu/abp/>
7 7
 	- <https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt>
8
+	- <https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters/-/raw/main/bpc-paywall-filter.txt>
9
+	- <https://letsblock.it/filters>
8 10
 - [Multi-Account Containers](https://addons.mozilla.org/firefox/addon/multi-account-containers/)
9 11
 - [Skip Redirect](https://addons.mozilla.org/firefox/addon/skip-redirect/)
10 12
 - [Hover Zoom+](https://addons.mozilla.org/firefox/addon/hover-zoom-plus/)
11 13
 - [Vimium C](https://addons.mozilla.org/firefox/addon/vimium-c/)
12
-- [RES]
13
-- [Sponsorblock]
14
-- [DeArrow]
14
+- [Sponsorblock](https://addons.mozilla.org/firefox/addon/sponsorblock/)
15
+- [DeArrow](https://addons.mozilla.org/firefox/addon/dearrow/)
15 16
 - [KeePassXC-Browser](https://addons.mozilla.org/firefox/addon/keepassxc-browser/)
17
+- [RES](https://addons.mozilla.org/firefox/addon/reddit-enhancement-suite/)
16 18
 - [Torrent Control](https://addons.mozilla.org/en-CA/firefox/addon/torrent-control/)
17
-- Temporary Containers
19
+- [Temporary Containers](https://addons.mozilla.org/firefox/addon/temporary-containers/)
18 20
 - multifoxContainer
19 21
 - Link Status Redux
20 22
 - Redirector
@@ -25,6 +27,7 @@
25 27
 - Dorando keyconfig (disable/change shortcuts; may be other options)
26 28
 - Enter Selects (improved URL autocomplete; may be other options)
27 29
 - StyloaiX (replace with userContent.css)
30
+- [Bypass Paywalls Clean](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean)
28 31
 
29 32
 ## Profiles / Containers
30 33
 
@@ -39,7 +42,15 @@
39 42
 
40 43
 ## Search Engines
41 44
 
42
-
45
+- Google
46
+- Amazon
47
+- Wikipedia
48
+- Bing
49
+- Yandex
50
+- Trackers
51
+- HN
52
+- YouTube
53
+- Translate
43 54
 
44 55
 ## Reference
45 56
 
@@ -49,4 +60,6 @@
49 60
 - <https://github.com/MrOtherGuy/fx-autoconfig>
50 61
 - <http://kb.mozillazine.org/Profile_folder_-_Firefox>
51 62
 - <https://www.userchrome.org/what-is-userchrome-js.html>
52
-
63
+- <https://www.reddit.com/r/FirefoxCSS/comments/o1ccqe/a_different_way_of_displaying_the_container_color/>
64
+- <https://www.reddit.com/r/FirefoxCSS/comments/yck6gt/blurring_email_address_in_hamburger_menu_for_some/>
65
+- <https://github.com/AveYo/fox>

+ 2
- 0
chrome/userChrome.css Datei anzeigen

@@ -0,0 +1,2 @@
1
+/* Remove fullscreen animation */
2
+#navigator-toolbox[fullscreenShouldAnimate] { transition: none !important; }

+ 82
- 65
user.js Datei anzeigen

@@ -1,9 +1,27 @@
1
+/* Manual */
2
+// user_pref("browser.cache.disk.parent_directory", "/run/user/$(id -u)/firefox"); // move disk cache to memory
3
+
1 4
 /* Startup */
2 5
 user_pref("browser.startup.homepage", "https://www.google.ca"); // home page
3
-user_pref("browser.startup.page", 3); // resume previous session
4
-user_pref("browser.startup.homepage_override.mstone", "ignore"); // disable welcome
6
+user_pref("browser.startup.page", 3); // resume previous session on startup
7
+user_pref("browser.startup.homepage_override.mstone", "ignore"); // disable welcome messages
5 8
 user_pref("browser.newtabpage.enabled", false); // blank new tab page
6 9
 
10
+/* Behaviour */
11
+user_pref("browser.bookmarks.openInTabClosesMenu", false); // opening bookmarks doesn't close menu
12
+user_pref("layout.word_select.eat_space_to_next_word", false); // don't select extra space after words
13
+user_pref("general.autoScroll", true); // scroll on middle click
14
+user_pref("browser.tabs.searchclipboardfor.middleclick", false);
15
+user_pref("browser.ctrlTab.sortByRecentlyUsed", false); // ctrl+tab cycles in order
16
+user_pref("zoom.minPercent", 10); // adjust minimum zoom value
17
+user_pref("ui.key.menuAccessKeyFocuses", false); // alt key doesn't open top bar
18
+user_pref("browser.urlbar.suggest.topsites", false); // don't suggest top sites
19
+user_pref("browser.urlbar.suggest.calculator", true);
20
+user_pref("browser.urlbar.unitConversion.enabled", true);
21
+user_pref("browser.urlbar.quickactions.enabled", false);
22
+user_pref("browser.urlbar.shortcuts.quickactions", false);
23
+user_pref("browser.urlbar.autoFill.adaptiveHistory.enabled", true);
24
+
7 25
 /* Shutdown */
8 26
 // user_pref("privacy.sanitize.sanitizeOnShutdown", true); // clear data on shutdown
9 27
 // user_pref("privacy.clearOnShutdown.history", false); // save history
@@ -14,71 +32,53 @@ user_pref("browser.newtabpage.enabled", false); // blank new tab page
14 32
 // user_pref("privacy.clearOnShutdown.cookies", false); // save cookies
15 33
 // user_pref("privacy.clearOnShutdown.offlineApps", true); // clear site data
16 34
 
17
-/* Warnings */
18
-user_pref("browser.aboutConfig.showWarning", false); // disable about:config warning
19
-user_pref("browser.warnOnQuitShortcut", true); // warn on quit
20
-user_pref("browser.tabs.warnOnClose", true); // warn on quit
21
-user_pref("app.update.suppressPrompts", true); // disable update warning
22
-user_pref("browser.urlbar.update2.engineAliasRefresh", true); // allow adding search engines
23
-
24
-/* Recommendations */
25
-user_pref("browser.newtabpage.activity-stream.default.sites", ""); // blank top sites
26
-user_pref("browser.newtabpage.activity-stream.showSponsored", false); // disable sponsored stories
27
-user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // disable sponsored shortcuts
28
-user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // disable recommended addons
29
-user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // disable recommended features
30
-user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // remove top sites from new tab page
31
-user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); // remove pocket from new tab page
32
-user_pref("extensions.getAddons.showPane", false); // disable recommendations in about:addons
33
-user_pref("extensions.htmlaboutaddons.recommendations.enabled", false); // disable recommendations in about:addons
34
-user_pref("browser.discovery.enabled", false); // disable recommendations in about:addons
35
-user_pref("browser.messaging-system.whatsNewPanel.enabled", false); // disable what's new
36
-user_pref("extensions.pocket.enabled", false); // disable pocket
37
-
38
-/* Fingerprinting */
39
-user_pref("privacy.resistFingerprinting", false); // don't resist fingerprinting
40
-user_pref("privacy.resistFingerprinting.letterboxing", false); // don't resist fingerprinting
41
-
42
-/* Behaviour */
35
+/* Content */
43 36
 user_pref("media.eme.enabled", true); // allow DRM
44
-user_pref("browser.bookmarks.openInTabClosesMenu", false); // opening bookmarks doesn't close the menu
45
-user_pref("layout.word_select.eat_space_to_next_word", false); // don't select extra space after words
46
-user_pref("general.autoScroll", true); // scroll on middle click
47
-user_pref("browser.ctrlTab.sortByRecentlyUsed", false); // ctrl+tab cycles in order
48
-user_pref("zoom.minPercent", 10); // zoom values
49
-user_pref("signon.autofillForms", false); // don't autofill login pages
50
-user_pref("signon.formlessCapture.enabled", false); // don't autofill passwords
51
-user_pref("extensions.formautofill.addresses.enabled", false); // don't autofill addresses
52
-user_pref("extensions.formautofill.creditCards.enabled", false); // don't autofill credit cards
53
-user_pref("ui.key.menuAccessKeyFocuses", false); // alt key doesn't open top bar
37
+user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); // enable user styles
38
+user_pref("layout.css.has-selector.enabled", true); // enable :has filter
39
+user_pref("browser.urlbar.groupLabels.enabled", false); // hide firefox suggest label
40
+user_pref("browser.compactmode.show", true); // add compact mode
41
+user_pref("browser.tabs.tabmanager.enabled", false); // hide tab manager until needed
54 42
 
55 43
 /* Downloads */
56
-user_pref("browser.download.useDownloadDir", false); // always ask where to save files
44
+// user_pref("browser.download.useDownloadDir", false); // always ask whether to open or save files
57 45
 user_pref("browser.download.alwaysOpenPanel", false); // disable automatically opening download panel
58 46
 user_pref("browser.download.manager.addToRecentDocs", false); // disable adding downloads to recent documents
59 47
 user_pref("browser.download.always_ask_before_handling_new_types", true); // confirm new file types
60
-user_pref("browser.download.open_pdf_attachments_inline", true);
48
+user_pref("browser.privatebrowsing.forceMediaMemoryCache", true); // require memory cache for private browsing
49
+user_pref("browser.download.open_pdf_attachments_inline", true); // force PDFs to open in browser
50
+user_pref("pdfjs.disabled", false);
51
+user_pref("pdfjs.enableScripting", false);
61 52
 
62
-/* Fullscreen */
63
-user_pref("full-screen-api.transition-duration.enter", "0 0");
64
-user_pref("full-screen-api.transition-duration.leave", "0 0");
65
-user_pref("full-screen-api.transition.timeout", "0");
66
-user_pref("full-screen-api.warning.delay", "0");
67
-user_pref("full-screen-api.warning.timeout", "0");
53
+/* Forms */
54
+user_pref("signon.autofillForms", false); // don't autofill login pages
55
+user_pref("browser.formfill.enable", false); // don't autofill forms
56
+user_pref("signon.formlessCapture.enabled", false); // don't autofill passwords
57
+user_pref("extensions.formautofill.addresses.enabled", false); // don't autofill addresses
58
+user_pref("extensions.formautofill.creditCards.enabled", false); // don't autofill credit cards
59
+user_pref("signon.rememberSignons", false); // don't remember passwords
60
+
61
+/* Warnings */
62
+user_pref("browser.aboutConfig.showWarning", false); // disable about:config warning
63
+user_pref("browser.warnOnQuitShortcut", true); // warn on quit
64
+user_pref("browser.tabs.warnOnClose", true); // warn on quit
65
+user_pref("app.update.suppressPrompts", true); // disable update warning
66
+user_pref("browser.urlbar.update2.engineAliasRefresh", true); // allow adding search engines manually
68 67
 
69 68
 /* Containers */
70 69
 user_pref("privacy.userContext.enabled", true); // enable containers
71 70
 user_pref("privacy.userContext.ui.enabled", true); // enable containers
72 71
 
73
-/* Content */
74
-user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); // enable userContent/Chrome.css
75
-
76
-/* Manual */
77
-// user_pref("browser.cache.disk.parent_directory", "/run/user/1000/firefox"); // move disk cache to memory
72
+/* Fullscreen */
73
+user_pref("full-screen-api.transition-duration.enter", "0 0");
74
+user_pref("full-screen-api.transition-duration.leave", "0 0");
75
+user_pref("full-screen-api.transition.timeout", 0);
76
+user_pref("full-screen-api.warning.delay", -1);
77
+user_pref("full-screen-api.warning.timeout", 0);
78 78
 
79 79
 /* Scrolling */
80
-user_pref("apz.overscroll.enabled", true); // not DEFAULT on Linux
81
-user_pref("general.smoothScroll", true); // DEFAULT
80
+user_pref("apz.overscroll.enabled", true);
81
+user_pref("general.smoothScroll", true);
82 82
 user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12);
83 83
 user_pref("general.smoothScroll.msdPhysics.enabled", true);
84 84
 user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600);
@@ -88,22 +88,40 @@ user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", 2.0);
88 88
 user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250);
89 89
 user_pref("general.smoothScroll.currentVelocityWeighting", 1.0);
90 90
 user_pref("general.smoothScroll.stopDecelerationWeighting", 1.0);
91
-user_pref("mousewheel.default.delta_multiplier_y", 250); // 250-400; adjust this number to your liking
91
+user_pref("mousewheel.default.delta_multiplier_y", 250);
92
+
93
+/* Bloat */
94
+user_pref("browser.newtabpage.activity-stream.default.sites", ""); // empty top sites list
95
+user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); // remove top sites from new tab page
96
+user_pref("browser.newtabpage.activity-stream.showSponsored", false); // disable sponsored stories
97
+user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // disable sponsored top sites
98
+user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // disable recommended addons
99
+user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // disable recommended features
100
+user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // remove stories from new tab page
101
+user_pref("extensions.getAddons.showPane", false); // disable recommendations in about:addons
102
+user_pref("extensions.htmlaboutaddons.recommendations.enabled", false); // disable recommendations in about:addons
103
+user_pref("browser.discovery.enabled", false); // disable recommendations in about:addons
104
+user_pref("browser.messaging-system.whatsNewPanel.enabled", false); // disable what's new
105
+user_pref("extensions.pocket.enabled", false); // disable pocket
106
+user_pref("browser.uitour.enabled", false);
107
+user_pref("browser.uitour.url", "");
108
+user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false);
109
+user_pref("browser.preferences.moreFromMozilla", false);
92 110
 
93 111
 /* Telemetry */
94 112
 user_pref("datareporting.policy.dataSubmissionEnabled", false);
95 113
 user_pref("datareporting.healthreport.uploadEnabled", false);
96 114
 user_pref("toolkit.telemetry.unified", false);
97
-user_pref("toolkit.telemetry.enabled", false); // see [NOTE]
115
+user_pref("toolkit.telemetry.enabled", false);
98 116
 user_pref("toolkit.telemetry.server", "data:,");
99 117
 user_pref("toolkit.telemetry.archive.enabled", false);
100
-user_pref("toolkit.telemetry.newProfilePing.enabled", false); // [FF55+]
101
-user_pref("toolkit.telemetry.shutdownPingSender.enabled", false); // [FF55+]
102
-user_pref("toolkit.telemetry.updatePing.enabled", false); // [FF56+]
103
-user_pref("toolkit.telemetry.bhrPing.enabled", false); // [FF57+] Background Hang Reporter
104
-user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); // [FF57+]
105
-user_pref("toolkit.telemetry.coverage.opt-out", true); // [HIDDEN PREF]
106
-user_pref("toolkit.coverage.opt-out", true); // [FF64+] [HIDDEN PREF]
118
+user_pref("toolkit.telemetry.newProfilePing.enabled", false);
119
+user_pref("toolkit.telemetry.shutdownPingSender.enabled", false);
120
+user_pref("toolkit.telemetry.updatePing.enabled", false);
121
+user_pref("toolkit.telemetry.bhrPing.enabled", false);
122
+user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
123
+user_pref("toolkit.telemetry.coverage.opt-out", true);
124
+user_pref("toolkit.coverage.opt-out", true);
107 125
 user_pref("toolkit.coverage.endpoint.base", "");
108 126
 user_pref("browser.ping-centre.telemetry", false);
109 127
 user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
@@ -112,6 +130,5 @@ user_pref("app.shield.optoutstudies.enabled", false);
112 130
 user_pref("app.normandy.enabled", false);
113 131
 user_pref("app.normandy.api_url", "");
114 132
 user_pref("breakpad.reportURL", "");
115
-user_pref("browser.tabs.crashReporting.sendReport", false); // [FF44+]
116
-user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // [DEFAULT: false]
117
-
133
+user_pref("browser.tabs.crashReporting.sendReport", false);
134
+user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);

Laden…
Abbrechen
Speichern