File size: 8,649 Bytes
f02833d
f7961a8
 
f02833d
 
 
 
f7961a8
 
f02833d
 
 
f7961a8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
---
title: WebDef.UI  Stable Diffusion
emoji: 🖥
colorFrom: red
colorTo: pink
sdk: gradio
sdk_version: 3.39.0
app_file: sd_ui.py
pinned: true
license: creativeml-openrail-m
---

<h1 align="center"><img width=30px src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Firefox_logo%2C_2019.svg/1200px-Firefox_logo%2C_2019.svg.png"></img> Awesome Firefox (v1.0.0)</h1>

Project designed to help you make the most of your Firefox browser. We declare that Firefox is times more convenient and better than Chrome. Our goal is to teach you how to get the most out of your browser!

> Site: https://mozilla.vercel.app
> <br>
> Awesome Windows 11: https://github.com/awesome-windows11/windows11

Mobile: https://github.com/fork-maintainers/iceraven-browser

<h2 align="center">Configuration Files</h2>

<h3>📜 config.js (known as mozilla.cfg aka. firefox.cfg)</h3>

You no longer need to manually configure your browser settings. Firefox has auto-configuration for almost any setting. File with autopolicies for [about:config](https://searchfox.org/mozilla-release/source/browser/app/profile/firefox.js) page / [Список настроек на русском](https://forum.mozilla-russia.org/viewtopic.php?id=36226)

All the current settings can be viewed without opening the browser at: `profile/prefs.js`

1. **IMPORTANT:** for THIS file to work, create a file (`autoconfig.js`, `prefs.js`):

<details><summary><code>...\app\defaults\pref\config-prefs.js</code></summary>

``` js
pref("general.config.obscure_value", 0);
pref("general.config.filename", "config.js");
pref("general.config.sandbox_enabled", false);
```
</details>

2. AFTER that you can create the file (*here are some examples of the most famous settings*):

<details><summary><code>...\app\config.js</code></summary>

https://github.com/arkenfox/user.js/blob/master/user.js

```js
// extensions
lockPref('xpinstall.signatures.required', false);
// update
lockPref("app.update.auto", false)
lockPref("app.update.background.enabled", false)
// compact mode
lockPref("browser.compactmode.show", true);
lockPref("browser.uidensity", 1)
//safebrowsing Google
lockPref("browser.safebrowsing.malware.enabled", false)
lockPref("browser.safebrowsing.phishing.enabled", false)
lockPref("browser.safebrowsing.blockedURIs.enabled", false)
lockPref("browser.safebrowsing.downloads.remote.enabled", false)
lockPref("browser.safebrowsing.provider.google.updateURL", "none")
lockPref("browser.safebrowsing.provider.google4.updateURL", "none")
lockPref("browser.safebrowsing.provider.google4.dataSharingUR", "none")
lockPref("browser.safebrowsing.provider.google4.gethashURL", "none")
// Block dangerous downloads
lockPref("browser.safebrowsing.downloads.enabled", false) 
// Warn you about unwanted and uncommon software
lockPref("browser.safebrowsing.downloads.remote.block_uncommon", false)
// telemetry
lockPref("toolkit.telemetry.enabled", false)
lockPref("toolkit.telemetry.server", "none")
lockPref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false)
lockPref("app.normandy.enabled", false)
lockPref("app.normandy.first_run", false)
lockPref("app.normandy.api_url", "none")
// pocket
lockPref("extensions.pocket.enabled", false)
lockPref("extensions.pocket.api", "none")
lockPref("extensions.pocket.site", "none")
// css
lockPref("toolkit.legacyUserProfileCustomizations.stylesheets", true)
lockPref("widget.non-native-theme.scrollbar.style", 1)
lockPref("nglayout.enable_drag_images", false)
// containers
lockPref("privacy.userContext.enabled", true)
lockPref("privacy.userContext.ui.enabled", true)
// reader
lockPref("reader.parse-on-load.enabled", false)
// search page
lockPref("accessibility.typeaheadfind", false) // чтобы поиск не набирался сразу
lockPref("accessibility.typeaheadfind.autostart", false)
// notification
lockPref("alerts.useSystemBackend", true)
// about:config
lockPref("browser.aboutConfig.showWarning", false)
// download
lockPref("browser.download.autohideButton", false)
lockPref("browser.download.useDownloadDir", false)
// last session
lockPref("browser.startup.page", 3)
// tabs preview taskbar
lockPref("browser.taskbar.previews.enable", false)
// UTF8 decode
lockPref("browser.urlbar.decodeURLsOnCopy", true)
// space double click
lockPref("layout.word_select.eat_space_to_next_word", false)
// account
lockPref("network.http.windows-sso.enabled", false)
// tabs animation off
lockPref("ui.prefersReducedMotion", "1")
// ctrl + tab menu
lockPref("browser.ctrlTab.sortByRecentlyUsed", true)
// Open links in tabs of new tab (windows = 2)
lockPref("browser.link.open_newwindow", 3)
// open links in searchbar of current tab
lockPref("browser.urlbar.openintab", false)
// smoothscrolling
lockPref("general.smoothScroll", false)
// autofill logins and passwords
lockPref("signon.autofillForms", false)
// suggest and generate strong password
lockPref("signon.generation.enabled", false)
// Provide search suggestions
lockPref("browser.search.suggest.enabled", true)
// Show search suggestions in adress bar results
lockPref("browser.urlbar.suggest.searches", true)
// Show search suggestions in Private Windows
lockPref("browser.search.suggest.enabled.private", true)
// Search bar in toolbar
lockPref("browser.search.widget.inNavBar", false)
// spellcheck on
lockPref("layout.spellcheckDefault", 1)
// reset the browser window size
lockPref("privacy.resistFingerprinting", false)
// useragent
lockPref("general.useragent.override", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36")
// https://firefox-source-docs.mozilla.org/browser/urlbar/preferences.html
lockPref("browser.urlbar.showSearchSuggestionsFirst", false)
// max count search bar
lockPref("browser.urlbar.maxRichResults", 20)
// calculator
lockPref("browser.urlbar.suggest.calculator", true)
lockPref("browser.urlbar.unitConversion.enabled", true)
```
</details>

<h3>📜 policies.json</h3>

Firefox [policies](https://github.com/mozilla/policy-templates/blob/master/README.md)

<details><summary><code>...\distribution\policies.json</code></summary>
	
  ```json
{
  "policies": {
    "DisableAppUpdate": true,
	"DisableFirefoxAccounts": true,
	"DisableFirefoxScreenshots": true,
	"DisablePocket": true,
	"DisableSetDesktopBackground": true,
	"DisableTelemetry": true,
	"DontCheckDefaultBrowser": true,
	"PasswordManagerEnabled": false
    }
}
  ```
</details>

<h3>📜 userChrome.css</h3>

Firefox Appearance (CSS)

<details><summary><code>...\profile\chrome\userChrome.css</code></summary>
	
https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome
<br>
https://github.com/mbnuqw/sidebery/wiki/Firefox-Styles-Snippets-(via-userChrome.css)
<br>
https://github.com/Aris-t2/CustomCSSforFx
<br>
https://github.com/Aris-t2/CustomJSforFx
<br>
https://github.com/Timvde/UserChrome-Tweaks
<br>
https://github.com/Isaac-Newt/userChrome-styles
<br>
https://github.com/dotiful/firefox-scripts

```css
/* compact_menus_proton */
.subview-subheader,
panelview .toolbarbutton-1,
.subviewbutton,
.widget-overflow-list .toolbarbutton-1 {
  padding: 2px !important;
}
	
menupopup > menuitem,
menupopup > menu {
  padding-block: 2px !important;
}

#context-navigation :-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage) {
  padding: 2px !important;
  -moz-margin-start: -10px !important;
}
```
	
MORE SOON...
</details>
<h2 align="center">✨ Personalization</h2>

Include flag: `toolkit.legacyUserProfileCustomizations.stylesheet` = true

[about:config](https://searchfox.org/mozilla-release/source/browser/app/profile/firefox.js)
<br>
https://github.com/xiaoxiaoflood/firefox-scripts
<br>
https://github.com/black7375/Firefox-UI-Fix
<br>
https://github.com/muckSponge/MaterialFox
<br>
https://github.com/QNetITQ/WaveFox
<br>
https://github.com/edelvarden/material-fox-updated
<br>
https://github.com/maicol07/FluentFox
<br>
https://github.com/fboulnois/positron-ui-firefox
<br>
https://github.com/auberginehill/firefox-customization-files
<br>
https://github.com/aminomancer/uc.css.js
<br>
https://github.com/doublejim/tree-style-tab-compact-dark-style
<br>
https://github.com/UnlimitedAvailableUsername/Edge-Mimicry-Tree-Style-Tab-For-Firefox
<br>
https://github.com/filips123/PWAsForFirefox

<h2 align="center">🧰 Extensions</h2>

https://github.com/piroor/treestyletab
<br>
https://github.com/FilipePS/Traduzir-paginas-web
<br>
[Gmail / Calendar checker](https://addons.mozilla.org/ru/firefox/user/1204619)

<h2 align="center"><a href="https://github.com/awesome-windows11/firefox/tree/main/UnbrandedBuilds">⬇ Unbranded builds</a></h2>