mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-28 23:51:18 +05:30
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9e6a66f1fb | |||
| 7bab6261e9 |
+13
-5
@@ -3,7 +3,7 @@
|
|||||||
* Peskyfox *
|
* Peskyfox *
|
||||||
* "Aquila non capit muscas" *
|
* "Aquila non capit muscas" *
|
||||||
* priority: remove annoyances *
|
* priority: remove annoyances *
|
||||||
* version: 146 *
|
* version: 148 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* url: https://github.com/yokoffing/Betterfox *
|
||||||
* credit: Some prefs are reproduced and adapted from the arkenfox project *
|
* credit: Some prefs are reproduced and adapted from the arkenfox project *
|
||||||
* credit urL: https://github.com/arkenfox/user.js *
|
* credit urL: https://github.com/arkenfox/user.js *
|
||||||
@@ -410,6 +410,17 @@ user_pref("browser.download.open_pdf_attachments_inline", true);
|
|||||||
// [NOTE] "page-width" not needed if using sidebar on load
|
// [NOTE] "page-width" not needed if using sidebar on load
|
||||||
//user_pref("pdfjs.defaultZoomValue", page-width);
|
//user_pref("pdfjs.defaultZoomValue", page-width);
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* SECTION: DOM (DOCUMENT OBJECT MODEL) *
|
||||||
|
****************************************************************************/
|
||||||
|
// PREF: prevent scripts from moving and resizing open windows
|
||||||
|
//user_pref("dom.disable_window_move_resize", true);
|
||||||
|
|
||||||
|
// PREF: disable beforeunload event
|
||||||
|
// [WHY] The method is commonly abused by scam and spyware sites.
|
||||||
|
// [1] https://developer.mozilla.org/docs/Web/API/Window/beforeunload_event
|
||||||
|
//user_pref("dom.disable_beforeunload", true);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: TAB BEHAVIOR *
|
* SECTION: TAB BEHAVIOR *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -433,7 +444,7 @@ user_pref("browser.download.open_pdf_attachments_inline", true);
|
|||||||
// 0 = force all new windows opened by JavaScript into tabs
|
// 0 = force all new windows opened by JavaScript into tabs
|
||||||
// [NOTE] Most advertising popups also open in new windows with values set
|
// [NOTE] Most advertising popups also open in new windows with values set
|
||||||
// [1] https://kb.mozillazine.org/About:config_entries
|
// [1] https://kb.mozillazine.org/About:config_entries
|
||||||
//user_pref("browser.link.open_newwindow.restriction", 0);
|
//user_pref("browser.link.open_newwindow.restriction", 2); // DEFAULT
|
||||||
|
|
||||||
// PREF: override <browser.link.open_newwindow> for external links
|
// PREF: override <browser.link.open_newwindow> for external links
|
||||||
// Set if a different destination for external links is needed
|
// Set if a different destination for external links is needed
|
||||||
@@ -485,9 +496,6 @@ user_pref("findbar.highlightAll", true);
|
|||||||
// [1] https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/10089
|
// [1] https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/10089
|
||||||
//user_pref("middlemouse.contentLoadURL", false);
|
//user_pref("middlemouse.contentLoadURL", false);
|
||||||
|
|
||||||
// PREF: Prevent scripts from moving and resizing open windows
|
|
||||||
//user_pref("dom.disable_window_move_resize", true);
|
|
||||||
|
|
||||||
// PREF: insert new tabs after groups like it
|
// PREF: insert new tabs after groups like it
|
||||||
// true(default) = open new tabs to the right of the parent tab
|
// true(default) = open new tabs to the right of the parent tab
|
||||||
// false = new tabs are opened at the far right of the tab bar
|
// false = new tabs are opened at the far right of the tab bar
|
||||||
|
|||||||
@@ -92,6 +92,9 @@ user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
|
|||||||
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
||||||
user_pref("browser.newtabpage.activity-stream.showSponsoredCheckboxes", false);
|
user_pref("browser.newtabpage.activity-stream.showSponsoredCheckboxes", false);
|
||||||
|
|
||||||
|
/** TAB BEHAVIOR ***/
|
||||||
|
//user_pref("browser.link.open_newwindow.restriction", 2); // restore FF default
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: SMOOTHFOX *
|
* SECTION: SMOOTHFOX *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user