Skip to content

Instantly share code, notes, and snippets.

@9ary
Last active June 8, 2024 17:11
Show Gist options
  • Save 9ary/2354cab773341e2587596b8a02f1d865 to your computer and use it in GitHub Desktop.
Save 9ary/2354cab773341e2587596b8a02f1d865 to your computer and use it in GitHub Desktop.
Firefox stuff
# 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
{
"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"
]
}
]
}
/* 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