mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 07:30:47 +05:30
Updated Common Overrides (markdown)
+8
-10
@@ -85,36 +85,34 @@ user_pref("permissions.default.desktop-notification", 0);
|
|||||||
### New tab shortcuts
|
### New tab shortcuts
|
||||||
|
|
||||||
#### Restore top sites
|
#### Restore top sites
|
||||||
Top sites (pinned site shortcuts) are removed for a clean new tab page.
|
Top sites (pinned site shortcuts) are removed for a clean new tab page, but you can re-enable them.
|
||||||
* `☰` *→ Settings → Home → Firefox Home Content*
|
* `☰` *→ Settings → Home → Firefox Home Content*
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// PREF: restore Top Sites on New Tab page
|
// PREF: restore Top Sites on New Tab page
|
||||||
user_pref("browser.newtabpage.activity-stream.feeds.topsites", true); // Shortcuts
|
user_pref("browser.newtabpage.activity-stream.feeds.topsites", true);
|
||||||
user_pref("browser.newtabpage.activity-stream.default.sites", ""); // clear default topsites
|
|
||||||
|
// PREF: remove default Top Sites (Facebook, Twitter, etc.)
|
||||||
|
// This does not block you from adding your own.
|
||||||
|
user_pref("browser.newtabpage.activity-stream.default.sites", "");
|
||||||
|
|
||||||
// PREF: remove sponsored content on New Tab page
|
// PREF: remove sponsored content on New Tab page
|
||||||
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // Sponsored shortcuts
|
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // Sponsored shortcuts
|
||||||
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // Recommended by Pocket
|
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // Recommended by Pocket
|
||||||
user_pref("browser.newtabpage.activity-stream.showSponsored", false); // Sponsored Stories
|
user_pref("browser.newtabpage.activity-stream.showSponsored", false); // Sponsored Stories
|
||||||
|
|
||||||
// PREF: remove default Top Sites (Facebook, Twitter, etc.)
|
|
||||||
// [NOTE] This does not block you from adding your own.
|
|
||||||
user_pref("browser.newtabpage.activity-stream.default.sites", "");
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Alternatives
|
#### Alternatives
|
||||||
* [Bookmark keywords](https://felixcrux.com/blog/favourite-firefox-feature-keyword-search-bookmarks) may provide a better experience ([YouTube example](https://youtu.be/bGTBH9yr8uw?si=FvQGmZqFz9n2JZT0&t=1080)).
|
* [Bookmark keywords](https://felixcrux.com/blog/favourite-firefox-feature-keyword-search-bookmarks) may improve your experience ([YouTube example](https://youtu.be/bGTBH9yr8uw?si=FvQGmZqFz9n2JZT0&t=1080)).
|
||||||
* Learn how to [narrow down suggestions](https://support.mozilla.org/en-US/kb/address-bar-autocomplete-firefox#w_changing-results-on-the-fly) in the URL bar by a specific type of result (`*` for bookmarks, `^` for browser history, etc.).
|
* Learn how to [narrow down suggestions](https://support.mozilla.org/en-US/kb/address-bar-autocomplete-firefox#w_changing-results-on-the-fly) in the URL bar by a specific type of result (`*` for bookmarks, `^` for browser history, etc.).
|
||||||
|
|
||||||
### Weather widget
|
### Weather widget
|
||||||
|
|
||||||
Firefox v.128 and later have the option to show Weather on the new tab page.
|
Firefox v.130 and later have the option to show Weather on the new tab page.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// PREF: show weather on New Tab page
|
// PREF: show weather on New Tab page
|
||||||
user_pref("browser.newtabpage.activity-stream.showWeather", true);
|
user_pref("browser.newtabpage.activity-stream.showWeather", true);
|
||||||
user_pref("browser.newtabpage.activity-stream.system.showWeather", true);
|
|
||||||
```
|
```
|
||||||
|
|
||||||
***
|
***
|
||||||
|
|||||||
Reference in New Issue
Block a user