Last active
August 25, 2024 09:19
-
-
Save 9ary/2354cab773341e2587596b8a02f1d865 to your computer and use it in GitHub Desktop.
Firefox stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable hiding the navigation header in full screen | |
browser.fullscreen.autohide;false | |
# Don't lazy-load tabs on startup | |
browser.sessionstore.restore_on_demand;false | |
# Kill Pocket | |
extensions.pocket.enabled;false | |
# Remove the full screen warning | |
full-screen-api.warning.timeout;0 | |
# Restore Alt+key shortcut behavior for sites | |
ui.key.chromeAccess;5 | |
ui.key.contentAccess;4 | |
# Disable session restore warning after a crash | |
browser.sessionstore.max_resumed_crashes;-1 | |
# Enable magnet links | |
network.protocol-handler.expose.magnet;false | |
# ZNC | |
network.security.ports.banned.override;6697 | |
# Sync more often (seconds) | |
services.sync.scheduler.activeInterval;60 | |
# High DPI | |
ui.textScaleFactor;133 | |
# Enable userChrome.css | |
toolkit.legacyUserProfileCustomizations.stylesheets;true | |
# Fix emoji | |
font.name-list.emoji;Noto Color Emoji | |
# Disable CSD tab bar (makes menu bar look better when hiding the tab bar) | |
browser.tabs.inTitlebar;0 | |
# Prevent the ... menus on search bar suggestions from getting in the way of tab | |
browser.urlbar.resultMenu.keyboardAccessible;false | |
browser.urlbar.trimURLs;false | |
apz.overscroll.enabled;false | |
# Snappier(?) smooth scrolling | |
general.smoothScroll.mouseWheel.durationMaxMS;80 | |
# OpenBSD defaults, handy reference | |
https://github.com/openbsd/ports/blob/master/www/mozilla-firefox/files/all-openbsd.js | |
# Disable opt-out studies | |
pref("app.shield.optoutstudies.enabled", false); | |
pref("app.normandy.enabled",false); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"createdBy": "Redirector v3.5.3", | |
"createdAt": "2022-11-28T10:15:46.555Z", | |
"redirects": [ | |
{ | |
"description": "Invidious", | |
"exampleUrl": ".youtu.be/a", | |
"exampleResult": "https://yewtu.be/a", | |
"error": null, | |
"includePattern": "(.*\\.)youtu(be.com|\\.be)/(.*)", | |
"excludePattern": "", | |
"patternDesc": "", | |
"redirectUrl": "https://yewtu.be/$3", | |
"patternType": "R", | |
"processMatches": "noProcessing", | |
"disabled": false, | |
"grouped": false, | |
"appliesTo": [ | |
"main_frame", | |
"sub_frame" | |
] | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Hide the "close" x on the active tab, we already have middle click for that */ | |
.tab-close-button { | |
display: none; | |
} | |
/* Hide the CSD buttons */ | |
.titlebar-buttonbox-container, .titlebar-spacer { | |
display: none; | |
} | |
/* Hide the tab bar when Tree Style Tab is visible */ | |
:root:has(xul|*[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:not([hidden="true"])) #TabsToolbar { | |
display: none; | |
} | |
/* Hide the sidebar header for Tree Syle Tab */ | |
[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment