Kaynağa Gözat

Fix carriage returns

main
Ashton Charbonneau 1 ay önce
ebeveyn
işleme
c6ed5f6e07
2 değiştirilmiş dosya ile 248 ekleme ve 248 silme
  1. 83
    83
      README.md
  2. 165
    165
      user.js

+ 83
- 83
README.md Dosyayı Görüntüle

@@ -1,83 +1,83 @@
1
-# Firefox
2
-
3
-Profile configuration that can be set up directly within profile folders. Configuration is the same across version, devices, and profiles, excepting a few settings adjusted manually.
4
-
5
-## Setup
6
-
7
-1. Change browser theme at `about:addons#themes`
8
-2. Set up Firefox sync at `about:preferences#sync`
9
-3. Install and configure shared extensions
10
-	- [uBlock Origin](https://addons.mozilla.org/firefox/addon/ublock-origin/)
11
-		- **Import from Firefox Sync**
12
-		- `Enable cloud storage support` = `true`
13
-		- `Custom filters` =
14
-			- <https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt>
15
-			- <https://git.ashtonc.ca/ashton/ubo-filters/raw/branch/main/ubo-filters.txt>
16
-	- [Multi-Account Containers](https://addons.mozilla.org/firefox/addon/multi-account-containers/)
17
-		- Default = `[ "Work (Blue/Circle)" ]`
18
-		- Work = `[ "Personal (Green/Circle)" ]`
19
-	- [Temporary Containers](https://addons.mozilla.org/firefox/addon/temporary-containers/)
20
-		- **Import from Firefox Sync**
21
-		- `Container Name Prefix` = `T`
22
-		- `Container Number` = `Reuse available numbers`
23
-		- `Context Menu` = `false`
24
-		- `Keyboard shorcuts` = `[ "Alt+C", "Alt+X", "Alt+O" ]`
25
-		- Add shortcut to toolbar
26
-	- [Hover Zoom+](https://addons.mozilla.org/firefox/addon/hover-zoom-plus/)
27
-		- `Use prev/next action keys (or mousewheel) to change video position by` = `4`
28
-		- `Show timestamp on videos` = `true`
29
-		- `Audio volume for unmuted videos` = `100`
30
-		- `Play audio sources such as MP3` = `true`
31
-		- `Audio volume` = `100`
32
-		- `Delays` = `0`
33
-		- `Action keys` = `[ "Close", "View previous", "View next" ]`
34
-		- `Add viewed pictures to the browser's history` = `true`
35
-		- `Allow rewrite of headers for HTTP(S) request or response` = `true`
36
-	- [Tridactyl](https://addons.mozilla.org/firefox/addon/tridactyl-vim/)
37
-	- [Bypass Paywalls Clean](https://github.com/bpc-clone/bypass-paywalls-firefox-clean)
38
-		- `Opt-in` = `enable`
39
-4. Install and configure additional extensions
40
-	- [Sponsorblock](https://addons.mozilla.org/firefox/addon/sponsorblock/)
41
-	- [DeArrow](https://addons.mozilla.org/firefox/addon/dearrow/)
42
-		- `"3rdparty"."Extensions"."[email protected]"."licenseKey" = "$key"`
43
-	- [Torrent Control](https://addons.mozilla.org/en-CA/firefox/addon/torrent-control/)
44
-	- [Reddit Enhancement Suite](https://addons.mozilla.org/firefox/addon/reddit-enhancement-suite/)
45
-	- [KeePassXC-Browser](https://addons.mozilla.org/firefox/addon/keepassxc-browser/)
46
-
47
-## To do
48
-
49
-- Add `policies.json` file to this repo
50
-- Move from [Vimium C](https://github.com/gdh1995/vimium-c) to [Tridactyl](https://github.com/tridactyl/tridactyl) and set up `.tridactylrc`
51
-- Native messaging integration
52
-	- Play videos in mpv via hotkey
53
-	- Shortcut for external text editor
54
-	- Control browser instance via devtools protocol (playwright)
55
-- Disable and reuse reserved keyboard shortcuts (probably requires a patch)
56
-- Enable `ctrl+[1-9]` shortcuts on Linux
57
-- Review quick navigation shortcuts
58
-	- Pages: specific pages, previously closed, last visited
59
-	- Tabs: move, pop out, close, duplicate
60
-	- Screenshots: full page, certain area, zoomed
61
-	- Bookmark or create note to revisit a tab
62
-	- Search, navigate, etc. (most recent tab, regex search, spacial navigation)
63
-- Reduce context menu size
64
-- Export bookmarks and history
65
-- Bookmark tagging and import/export
66
-
67
-## Reference
68
-
69
-- [arkenfox](https://github.com/arkenfox/user.js)
70
-- [Betterfox](https://github.com/yokoffing/Betterfox)
71
-- Styles
72
-	- <https://github.com/AveYo/fox>
73
-	- <https://github.com/MrOtherGuy/firefox-csshacks>
74
-	- <https://github.com/black7375/Firefox-UI-Fix>
75
-	- <https://github.com/xarantolus/userchrome.css>
76
-- Scripts
77
-	- <http://kb.mozillazine.org/Profile_folder_-_Firefox>
78
-	- <https://www.userchrome.org/what-is-userchrome-js.html>
79
-	- <https://github.com/xiaoxiaoflood/firefox-scripts>
80
-	- <https://github.com/MrOtherGuy/fx-autoconfig>
81
-	- <https://greasyfork.org/en/scripts/431691-bypass-all-shortlinks>
82
-	- <https://greasyfork.org/en/scripts/427254-preventpagevisibility>
83
-	- <https://greasyfork.org/en/scripts/429635-always-on-focus>
1
+# Firefox
2
+
3
+Profile configuration that can be set up directly within profile folders. Configuration is the same across version, devices, and profiles, excepting a few settings adjusted manually.
4
+
5
+## Setup
6
+
7
+1. Change browser theme at `about:addons#themes`
8
+2. Set up Firefox sync at `about:preferences#sync`
9
+3. Install and configure shared extensions
10
+	- [uBlock Origin](https://addons.mozilla.org/firefox/addon/ublock-origin/)
11
+		- **Import from Firefox Sync**
12
+		- `Enable cloud storage support` = `true`
13
+		- `Custom filters` =
14
+			- <https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt>
15
+			- <https://git.ashtonc.ca/ashton/ubo-filters/raw/branch/main/ubo-filters.txt>
16
+	- [Multi-Account Containers](https://addons.mozilla.org/firefox/addon/multi-account-containers/)
17
+		- Default = `[ "Work (Blue/Circle)" ]`
18
+		- Work = `[ "Personal (Green/Circle)" ]`
19
+	- [Temporary Containers](https://addons.mozilla.org/firefox/addon/temporary-containers/)
20
+		- **Import from Firefox Sync**
21
+		- `Container Name Prefix` = `T`
22
+		- `Container Number` = `Reuse available numbers`
23
+		- `Context Menu` = `false`
24
+		- `Keyboard shorcuts` = `[ "Alt+C", "Alt+X", "Alt+O" ]`
25
+		- Add shortcut to toolbar
26
+	- [Hover Zoom+](https://addons.mozilla.org/firefox/addon/hover-zoom-plus/)
27
+		- `Use prev/next action keys (or mousewheel) to change video position by` = `4`
28
+		- `Show timestamp on videos` = `true`
29
+		- `Audio volume for unmuted videos` = `100`
30
+		- `Play audio sources such as MP3` = `true`
31
+		- `Audio volume` = `100`
32
+		- `Delays` = `0`
33
+		- `Action keys` = `[ "Close", "View previous", "View next" ]`
34
+		- `Add viewed pictures to the browser's history` = `true`
35
+		- `Allow rewrite of headers for HTTP(S) request or response` = `true`
36
+	- [Tridactyl](https://addons.mozilla.org/firefox/addon/tridactyl-vim/)
37
+	- [Bypass Paywalls Clean](https://github.com/bpc-clone/bypass-paywalls-firefox-clean)
38
+		- `Opt-in` = `enable`
39
+4. Install and configure additional extensions
40
+	- [Sponsorblock](https://addons.mozilla.org/firefox/addon/sponsorblock/)
41
+	- [DeArrow](https://addons.mozilla.org/firefox/addon/dearrow/)
42
+		- `"3rdparty"."Extensions"."[email protected]"."licenseKey" = "$key"`
43
+	- [Torrent Control](https://addons.mozilla.org/en-CA/firefox/addon/torrent-control/)
44
+	- [Reddit Enhancement Suite](https://addons.mozilla.org/firefox/addon/reddit-enhancement-suite/)
45
+	- [KeePassXC-Browser](https://addons.mozilla.org/firefox/addon/keepassxc-browser/)
46
+
47
+## To do
48
+
49
+- Add `policies.json` file to this repo
50
+- Move from [Vimium C](https://github.com/gdh1995/vimium-c) to [Tridactyl](https://github.com/tridactyl/tridactyl) and set up `.tridactylrc`
51
+- Native messaging integration
52
+	- Play videos in mpv via hotkey
53
+	- Shortcut for external text editor
54
+	- Control browser instance via devtools protocol (playwright)
55
+- Disable and reuse reserved keyboard shortcuts (probably requires a patch)
56
+- Enable `ctrl+[1-9]` shortcuts on Linux
57
+- Review quick navigation shortcuts
58
+	- Pages: specific pages, previously closed, last visited
59
+	- Tabs: move, pop out, close, duplicate
60
+	- Screenshots: full page, certain area, zoomed
61
+	- Bookmark or create note to revisit a tab
62
+	- Search, navigate, etc. (most recent tab, regex search, spacial navigation)
63
+- Reduce context menu size
64
+- Export bookmarks and history
65
+- Bookmark tagging and import/export
66
+
67
+## Reference
68
+
69
+- [arkenfox](https://github.com/arkenfox/user.js)
70
+- [Betterfox](https://github.com/yokoffing/Betterfox)
71
+- Styles
72
+	- <https://github.com/AveYo/fox>
73
+	- <https://github.com/MrOtherGuy/firefox-csshacks>
74
+	- <https://github.com/black7375/Firefox-UI-Fix>
75
+	- <https://github.com/xarantolus/userchrome.css>
76
+- Scripts
77
+	- <http://kb.mozillazine.org/Profile_folder_-_Firefox>
78
+	- <https://www.userchrome.org/what-is-userchrome-js.html>
79
+	- <https://github.com/xiaoxiaoflood/firefox-scripts>
80
+	- <https://github.com/MrOtherGuy/fx-autoconfig>
81
+	- <https://greasyfork.org/en/scripts/431691-bypass-all-shortlinks>
82
+	- <https://greasyfork.org/en/scripts/427254-preventpagevisibility>
83
+	- <https://greasyfork.org/en/scripts/429635-always-on-focus>

+ 165
- 165
user.js Dosyayı Görüntüle

@@ -1,165 +1,165 @@
1
-/* Manual */
2
-// user_pref("browser.cache.disk.parent_directory", "/run/user/$(id -u)/firefox"); // linux: move disk cache to memory
3
-// user_pref("mousewheel.default.delta_multiplier_y", 250); // configure scroll speed (vertical)
4
-// user_pref("mousewheel.default.delta_multiplier_x", 250); // configure scroll speed (horizontal)
5
-
6
-/* Startup */
7
-user_pref("browser.startup.homepage", "https://www.google.ca"); // home
8
-user_pref("browser.startup.page", 3); // resume previous session on startup
9
-user_pref("browser.privatebrowsing.forceMediaMemoryCache", true); // require memory cache for private browsing
10
-
11
-/* New tab */
12
-user_pref("browser.newtabpage.enabled", false); // disable new tab page
13
-user_pref("browser.newtabpage.activity-stream.showWeather", false); // disable weather
14
-user_pref("browser.newtabpage.activity-stream.system.showWeather", false); // disable weather
15
-user_pref("browser.newtabpage.activity-stream.default.sites", ""); // empty top sites list
16
-user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); // remove top sites from new tab page
17
-user_pref("browser.newtabpage.activity-stream.showSponsored", false); // disable sponsored stories
18
-user_pref("browser.newtabpage.activity-stream.system.showSponsored", false); // disable sponsored stories
19
-user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // disable sponsored top sites
20
-user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // disable recommended addons
21
-user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // disable recommended features
22
-user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // remove stories from new tab page
23
-
24
-/* Behaviour */
25
-user_pref("browser.bookmarks.openInTabClosesMenu", false); // opening bookmarks doesn't close menu
26
-user_pref("browser.tabs.loadBookmarksInBackground", true); // allow opening bookmarks in background
27
-user_pref("layout.word_select.eat_space_to_next_word", false); // don't select extra space after words
28
-user_pref("general.autoScroll", true); // scroll on middle click
29
-user_pref("browser.tabs.searchclipboardfor.middleclick", false);
30
-user_pref("browser.ctrlTab.sortByRecentlyUsed", false); // ctrl+tab cycles in order
31
-user_pref("zoom.minPercent", 10); // adjust minimum zoom value
32
-user_pref("toolkit.zoomManager.zoomValues", ".1,.3,.5,.6,.7,.8,.85,.9,.95,1,1.05,1.1,1.15,1.2,1.3,1.4,1.45,1.5,1.55,1.6,1.7,1.8,1.9,2,2.5,3,4,5,10"); // adjust zoom increments (not mouse wheel)
33
-user_pref("ui.key.menuAccessKeyFocuses", false); // alt key doesn't open top bar
34
-user_pref("browser.urlbar.suggest.topsites", false); // don't suggest top sites
35
-user_pref("browser.urlbar.suggest.calculator", true); // enable calculations in url bar
36
-user_pref("browser.urlbar.unitConversion.enabled", true); // enable unit conversions in url bar
37
-user_pref("browser.urlbar.quickactions.enabled", false); // disable quick actions
38
-user_pref("browser.urlbar.autoFill.adaptiveHistory.enabled", true); // enable adaptive history
39
-user_pref("browser.urlbar.shortcuts.quickactions", false); // disable quick actions
40
-user_pref("browser.urlbar.resultMenu.keyboardAccessible", false); // skip url suggestion menus
41
-user_pref("findbar.highlightAll", true); // highlight all found matches
42
-user_pref("media.videocontrols.picture-in-picture.video-toggle.enabled", false); // hide picture-in-picture button
43
-user_pref("media.videocontrols.picture-in-picture.video-toggle.min-video-secs", 10); // allow picture-in-picture for shorter videos
44
-
45
-/* Dev tools */
46
-user_pref("devtools.command-button-screenshot.enabled", true); // enable screenshot button
47
-user_pref("devtools.command-button-rulers.enabled", true); // enable ruler button
48
-user_pref("devtools.debugger.remote-enabled", true); // enable remote debugging
49
-user_pref("devtools.chrome.enabled", true); // enable debugging browser chrome
50
-user_pref("devtools.screenshot.audio.enabled", false); // disable screenshot audio
51
-user_pref("devtools.editor.tabsize", 4); // indent size is 4 spaces
52
-user_pref("devtools.editor.expandtab", false); // indent with tabs
53
-
54
-/* Content */
55
-user_pref("media.eme.enabled", true); // allow DRM
56
-user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); // enable user styles
57
-user_pref("layout.css.grid-template-masonry-value.enabled", true);
58
-user_pref("dom.enable_web_task_scheduling", true);
59
-user_pref("browser.urlbar.groupLabels.enabled", false); // hide firefox suggest label
60
-user_pref("browser.compactmode.show", true); // add compact mode
61
-user_pref("browser.tabs.tabmanager.enabled", false); // hide tab manager until needed
62
-user_pref("privacy.userContext.enabled", true); // enable containers
63
-user_pref("privacy.userContext.ui.enabled", true); // enable containers
64
-
65
-/* Downloads */
66
-user_pref("browser.download.start_downloads_in_tmp_dir", true); // start downloads early
67
-user_pref("browser.download.useDownloadDir", false); // always ask where to save files
68
-user_pref("browser.download.alwaysOpenPanel", false); // disable automatically opening download panel
69
-user_pref("browser.download.autohideButton", true); // hide empty downloads button
70
-user_pref("browser.download.manager.addToRecentDocs", false); // disable adding downloads to recent documents
71
-
72
-/* PDFs */
73
-user_pref("browser.download.open_pdf_attachments_inline", true); // force PDFs to open in browser
74
-user_pref("pdfjs.disabled", false); // enable pdfjs
75
-user_pref("pdfjs.enableScripting", false); // disable scripts on pdfjs
76
-
77
-/* Forms */
78
-user_pref("signon.autofillForms", false); // don't autofill login pages
79
-user_pref("browser.formfill.enable", false); // don't autofill forms
80
-user_pref("signon.formlessCapture.enabled", false); // don't autofill passwords
81
-user_pref("extensions.formautofill.addresses.enabled", false); // don't autofill addresses
82
-user_pref("extensions.formautofill.creditCards.enabled", false); // don't autofill credit cards
83
-user_pref("signon.rememberSignons", false); // don't remember passwords
84
-
85
-/* Warnings */
86
-user_pref("browser.aboutConfig.showWarning", false); // disable about:config warning
87
-user_pref("browser.warnOnQuitShortcut", true); // warn on quit
88
-user_pref("browser.tabs.warnOnClose", true); // warn on quit
89
-user_pref("app.update.suppressPrompts", true); // disable update warning
90
-user_pref("browser.urlbar.update2.engineAliasRefresh", true); // allow adding search engines manually
91
-
92
-/* Fullscreen */
93
-user_pref("full-screen-api.transition-duration.enter", "0 0");
94
-user_pref("full-screen-api.transition-duration.leave", "0 0");
95
-user_pref("full-screen-api.transition.timeout", 0);
96
-user_pref("full-screen-api.warning.delay", -1);
97
-user_pref("full-screen-api.warning.timeout", 0);
98
-
99
-/* Scrolling */
100
-user_pref("apz.overscroll.enabled", true);
101
-user_pref("general.smoothScroll", true);
102
-user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12);
103
-user_pref("general.smoothScroll.msdPhysics.enabled", true);
104
-user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600);
105
-user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650);
106
-user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25);
107
-user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", "2.0");
108
-user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250);
109
-user_pref("general.smoothScroll.currentVelocityWeighting", "1.0");
110
-user_pref("general.smoothScroll.stopDecelerationWeighting", "1.0");
111
-
112
-/* Bloat */
113
-user_pref("browser.startup.homepage_override.mstone", "ignore"); // disable welcome messages
114
-user_pref("extensions.getAddons.showPane", false); // disable recommendations in about:addons
115
-user_pref("extensions.htmlaboutaddons.recommendations.enabled", false); // disable recommendations in about:addons
116
-user_pref("browser.discovery.enabled", false); // disable recommendations in about:addons
117
-user_pref("browser.messaging-system.whatsNewPanel.enabled", false); // disable what's new
118
-user_pref("extensions.pocket.enabled", false); // disable pocket
119
-user_pref("browser.uitour.enabled", false); // disable ui tour
120
-user_pref("browser.uitour.url", ""); // disable ui tour
121
-user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); // removed sponsored suggestions
122
-user_pref("browser.preferences.moreFromMozilla", false); // remove more from mozilla
123
-user_pref("browser.shopping.experience2023.enabled", false);
124
-user_pref("browser.urlbar.pocket.featureGate", false);
125
-user_pref("browser.urlbar.trending.featureGate", false);
126
-user_pref("browser.privatebrowsing.vpnpromourl", ""); // hide private browsing promo
127
-
128
-/* Telemetry */
129
-user_pref("datareporting.policy.dataSubmissionEnabled", false);
130
-user_pref("datareporting.healthreport.uploadEnabled", false);
131
-user_pref("toolkit.telemetry.unified", false);
132
-user_pref("toolkit.telemetry.enabled", false);
133
-user_pref("toolkit.telemetry.server", "data:,");
134
-user_pref("toolkit.telemetry.archive.enabled", false);
135
-user_pref("toolkit.telemetry.newProfilePing.enabled", false);
136
-user_pref("toolkit.telemetry.shutdownPingSender.enabled", false);
137
-user_pref("toolkit.telemetry.updatePing.enabled", false);
138
-user_pref("toolkit.telemetry.bhrPing.enabled", false);
139
-user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
140
-user_pref("toolkit.telemetry.coverage.opt-out", true);
141
-user_pref("toolkit.coverage.opt-out", true);
142
-user_pref("toolkit.coverage.endpoint.base", "");
143
-user_pref("browser.ping-centre.telemetry", false);
144
-user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
145
-user_pref("browser.newtabpage.activity-stream.telemetry", false);
146
-user_pref("app.shield.optoutstudies.enabled", false);
147
-user_pref("app.normandy.enabled", false);
148
-user_pref("app.normandy.api_url", "");
149
-user_pref("breakpad.reportURL", "");
150
-user_pref("browser.tabs.crashReporting.sendReport", false);
151
-user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);
152
-user_pref("browser.contentanalysis.enabled", false);
153
-user_pref("browser.contentanalysis.default_result", 0);
154
-
155
-/* Sanitize */
156
-// user_pref("privacy.sanitize.sanitizeOnShutdown", false); // clear data on shutdown
157
-// user_pref("privacy.clearOnShutdown.cache", false); // save cache
158
-// user_pref("privacy.clearOnShutdown.cookies", false); // save cookies
159
-// user_pref("privacy.clearOnShutdown.downloads", true); // clear downloads (requires clearing history)
160
-// user_pref("privacy.clearOnShutdown.formdata", false); // save form data
161
-// user_pref("privacy.clearOnShutdown.history", false); // save history
162
-// user_pref("privacy.clearOnShutdown.offlineApps", false); // save cache
163
-// user_pref("privacy.clearOnShutdown.openWindows", false); // save open windows
164
-// user_pref("privacy.clearOnShutdown.sessions", false); // save sessions
165
-// user_pref("privacy.clearOnShutdown.siteSettings", false); // save site settings
1
+/* Manual */
2
+// user_pref("browser.cache.disk.parent_directory", "/run/user/$(id -u)/firefox"); // linux: move disk cache to memory
3
+// user_pref("mousewheel.default.delta_multiplier_y", 250); // configure scroll speed (vertical)
4
+// user_pref("mousewheel.default.delta_multiplier_x", 250); // configure scroll speed (horizontal)
5
+
6
+/* Startup */
7
+user_pref("browser.startup.homepage", "https://www.google.ca"); // home
8
+user_pref("browser.startup.page", 3); // resume previous session on startup
9
+user_pref("browser.privatebrowsing.forceMediaMemoryCache", true); // require memory cache for private browsing
10
+
11
+/* New tab */
12
+user_pref("browser.newtabpage.enabled", false); // disable new tab page
13
+user_pref("browser.newtabpage.activity-stream.showWeather", false); // disable weather
14
+user_pref("browser.newtabpage.activity-stream.system.showWeather", false); // disable weather
15
+user_pref("browser.newtabpage.activity-stream.default.sites", ""); // empty top sites list
16
+user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); // remove top sites from new tab page
17
+user_pref("browser.newtabpage.activity-stream.showSponsored", false); // disable sponsored stories
18
+user_pref("browser.newtabpage.activity-stream.system.showSponsored", false); // disable sponsored stories
19
+user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // disable sponsored top sites
20
+user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // disable recommended addons
21
+user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // disable recommended features
22
+user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // remove stories from new tab page
23
+
24
+/* Behaviour */
25
+user_pref("browser.bookmarks.openInTabClosesMenu", false); // opening bookmarks doesn't close menu
26
+user_pref("browser.tabs.loadBookmarksInBackground", true); // allow opening bookmarks in background
27
+user_pref("layout.word_select.eat_space_to_next_word", false); // don't select extra space after words
28
+user_pref("general.autoScroll", true); // scroll on middle click
29
+user_pref("browser.tabs.searchclipboardfor.middleclick", false);
30
+user_pref("browser.ctrlTab.sortByRecentlyUsed", false); // ctrl+tab cycles in order
31
+user_pref("zoom.minPercent", 10); // adjust minimum zoom value
32
+user_pref("toolkit.zoomManager.zoomValues", ".1,.3,.5,.6,.7,.8,.85,.9,.95,1,1.05,1.1,1.15,1.2,1.3,1.4,1.45,1.5,1.55,1.6,1.7,1.8,1.9,2,2.5,3,4,5,10"); // adjust zoom increments (not mouse wheel)
33
+user_pref("ui.key.menuAccessKeyFocuses", false); // alt key doesn't open top bar
34
+user_pref("browser.urlbar.suggest.topsites", false); // don't suggest top sites
35
+user_pref("browser.urlbar.suggest.calculator", true); // enable calculations in url bar
36
+user_pref("browser.urlbar.unitConversion.enabled", true); // enable unit conversions in url bar
37
+user_pref("browser.urlbar.quickactions.enabled", false); // disable quick actions
38
+user_pref("browser.urlbar.autoFill.adaptiveHistory.enabled", true); // enable adaptive history
39
+user_pref("browser.urlbar.shortcuts.quickactions", false); // disable quick actions
40
+user_pref("browser.urlbar.resultMenu.keyboardAccessible", false); // skip url suggestion menus
41
+user_pref("findbar.highlightAll", true); // highlight all found matches
42
+user_pref("media.videocontrols.picture-in-picture.video-toggle.enabled", false); // hide picture-in-picture button
43
+user_pref("media.videocontrols.picture-in-picture.video-toggle.min-video-secs", 10); // allow picture-in-picture for shorter videos
44
+
45
+/* Dev tools */
46
+user_pref("devtools.command-button-screenshot.enabled", true); // enable screenshot button
47
+user_pref("devtools.command-button-rulers.enabled", true); // enable ruler button
48
+user_pref("devtools.debugger.remote-enabled", true); // enable remote debugging
49
+user_pref("devtools.chrome.enabled", true); // enable debugging browser chrome
50
+user_pref("devtools.screenshot.audio.enabled", false); // disable screenshot audio
51
+user_pref("devtools.editor.tabsize", 4); // indent size is 4 spaces
52
+user_pref("devtools.editor.expandtab", false); // indent with tabs
53
+
54
+/* Content */
55
+user_pref("media.eme.enabled", true); // allow DRM
56
+user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); // enable user styles
57
+user_pref("layout.css.grid-template-masonry-value.enabled", true);
58
+user_pref("dom.enable_web_task_scheduling", true);
59
+user_pref("browser.urlbar.groupLabels.enabled", false); // hide firefox suggest label
60
+user_pref("browser.compactmode.show", true); // add compact mode
61
+user_pref("browser.tabs.tabmanager.enabled", false); // hide tab manager until needed
62
+user_pref("privacy.userContext.enabled", true); // enable containers
63
+user_pref("privacy.userContext.ui.enabled", true); // enable containers
64
+
65
+/* Downloads */
66
+user_pref("browser.download.start_downloads_in_tmp_dir", true); // start downloads early
67
+user_pref("browser.download.useDownloadDir", false); // always ask where to save files
68
+user_pref("browser.download.alwaysOpenPanel", false); // disable automatically opening download panel
69
+user_pref("browser.download.autohideButton", true); // hide empty downloads button
70
+user_pref("browser.download.manager.addToRecentDocs", false); // disable adding downloads to recent documents
71
+
72
+/* PDFs */
73
+user_pref("browser.download.open_pdf_attachments_inline", true); // force PDFs to open in browser
74
+user_pref("pdfjs.disabled", false); // enable pdfjs
75
+user_pref("pdfjs.enableScripting", false); // disable scripts on pdfjs
76
+
77
+/* Forms */
78
+user_pref("signon.autofillForms", false); // don't autofill login pages
79
+user_pref("browser.formfill.enable", false); // don't autofill forms
80
+user_pref("signon.formlessCapture.enabled", false); // don't autofill passwords
81
+user_pref("extensions.formautofill.addresses.enabled", false); // don't autofill addresses
82
+user_pref("extensions.formautofill.creditCards.enabled", false); // don't autofill credit cards
83
+user_pref("signon.rememberSignons", false); // don't remember passwords
84
+
85
+/* Warnings */
86
+user_pref("browser.aboutConfig.showWarning", false); // disable about:config warning
87
+user_pref("browser.warnOnQuitShortcut", true); // warn on quit
88
+user_pref("browser.tabs.warnOnClose", true); // warn on quit
89
+user_pref("app.update.suppressPrompts", true); // disable update warning
90
+user_pref("browser.urlbar.update2.engineAliasRefresh", true); // allow adding search engines manually
91
+
92
+/* Fullscreen */
93
+user_pref("full-screen-api.transition-duration.enter", "0 0");
94
+user_pref("full-screen-api.transition-duration.leave", "0 0");
95
+user_pref("full-screen-api.transition.timeout", 0);
96
+user_pref("full-screen-api.warning.delay", -1);
97
+user_pref("full-screen-api.warning.timeout", 0);
98
+
99
+/* Scrolling */
100
+user_pref("apz.overscroll.enabled", true);
101
+user_pref("general.smoothScroll", true);
102
+user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12);
103
+user_pref("general.smoothScroll.msdPhysics.enabled", true);
104
+user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600);
105
+user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650);
106
+user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25);
107
+user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", "2.0");
108
+user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250);
109
+user_pref("general.smoothScroll.currentVelocityWeighting", "1.0");
110
+user_pref("general.smoothScroll.stopDecelerationWeighting", "1.0");
111
+
112
+/* Bloat */
113
+user_pref("browser.startup.homepage_override.mstone", "ignore"); // disable welcome messages
114
+user_pref("extensions.getAddons.showPane", false); // disable recommendations in about:addons
115
+user_pref("extensions.htmlaboutaddons.recommendations.enabled", false); // disable recommendations in about:addons
116
+user_pref("browser.discovery.enabled", false); // disable recommendations in about:addons
117
+user_pref("browser.messaging-system.whatsNewPanel.enabled", false); // disable what's new
118
+user_pref("extensions.pocket.enabled", false); // disable pocket
119
+user_pref("browser.uitour.enabled", false); // disable ui tour
120
+user_pref("browser.uitour.url", ""); // disable ui tour
121
+user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); // removed sponsored suggestions
122
+user_pref("browser.preferences.moreFromMozilla", false); // remove more from mozilla
123
+user_pref("browser.shopping.experience2023.enabled", false);
124
+user_pref("browser.urlbar.pocket.featureGate", false);
125
+user_pref("browser.urlbar.trending.featureGate", false);
126
+user_pref("browser.privatebrowsing.vpnpromourl", ""); // hide private browsing promo
127
+
128
+/* Telemetry */
129
+user_pref("datareporting.policy.dataSubmissionEnabled", false);
130
+user_pref("datareporting.healthreport.uploadEnabled", false);
131
+user_pref("toolkit.telemetry.unified", false);
132
+user_pref("toolkit.telemetry.enabled", false);
133
+user_pref("toolkit.telemetry.server", "data:,");
134
+user_pref("toolkit.telemetry.archive.enabled", false);
135
+user_pref("toolkit.telemetry.newProfilePing.enabled", false);
136
+user_pref("toolkit.telemetry.shutdownPingSender.enabled", false);
137
+user_pref("toolkit.telemetry.updatePing.enabled", false);
138
+user_pref("toolkit.telemetry.bhrPing.enabled", false);
139
+user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
140
+user_pref("toolkit.telemetry.coverage.opt-out", true);
141
+user_pref("toolkit.coverage.opt-out", true);
142
+user_pref("toolkit.coverage.endpoint.base", "");
143
+user_pref("browser.ping-centre.telemetry", false);
144
+user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
145
+user_pref("browser.newtabpage.activity-stream.telemetry", false);
146
+user_pref("app.shield.optoutstudies.enabled", false);
147
+user_pref("app.normandy.enabled", false);
148
+user_pref("app.normandy.api_url", "");
149
+user_pref("breakpad.reportURL", "");
150
+user_pref("browser.tabs.crashReporting.sendReport", false);
151
+user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);
152
+user_pref("browser.contentanalysis.enabled", false);
153
+user_pref("browser.contentanalysis.default_result", 0);
154
+
155
+/* Sanitize */
156
+// user_pref("privacy.sanitize.sanitizeOnShutdown", false); // clear data on shutdown
157
+// user_pref("privacy.clearOnShutdown.cache", false); // save cache
158
+// user_pref("privacy.clearOnShutdown.cookies", false); // save cookies
159
+// user_pref("privacy.clearOnShutdown.downloads", true); // clear downloads (requires clearing history)
160
+// user_pref("privacy.clearOnShutdown.formdata", false); // save form data
161
+// user_pref("privacy.clearOnShutdown.history", false); // save history
162
+// user_pref("privacy.clearOnShutdown.offlineApps", false); // save cache
163
+// user_pref("privacy.clearOnShutdown.openWindows", false); // save open windows
164
+// user_pref("privacy.clearOnShutdown.sessions", false); // save sessions
165
+// user_pref("privacy.clearOnShutdown.siteSettings", false); // save site settings

Loading…
İptal
Kaydet