Skip to content

Instantly share code, notes, and snippets.

@Abhinav1217
Last active March 17, 2023 05:03
Show Gist options
  • Save Abhinav1217/22f8038e6b47bb953182fcf9f85e1bde to your computer and use it in GitHub Desktop.
Save Abhinav1217/22f8038e6b47bb953182fcf9f85e1bde to your computer and use it in GitHub Desktop.
Firefox Enhancements

This is the firefox about:config changes for my conveniences on Linux systems.

  • To disable closing with last tab.

    • Set browser.tabs.closeWindowWithLastTab to false . Search for lasttab
  • To enable magnate link recognation.

    • Create new boolean with network.protocol-handler.expose.magnet and set it to false, It will ask which program to use.
    • If you need to choose the file, Binerie are located at /usr/bin/tixati.
  • To enable client side decorations

    • Set browser.tabs.drawInTitlebar to true.
    • UPDATE: Client Side decoration can be enabled from customization from FF65
  • To remove new Unified extension button in ff-109 (BTW: Since when FF started calling addons, an extension)

    • Set extensions.unifiedExtensions.enabled to false.
    • NB: Only works till FF-111, from FF111, this setting has no effects. Looks like someone paid them well to make sure they go against their remaining community.
    • For FF > 111, only option is to enable legacy user css toolkit.legacyUserProfileCustomizations.stylesheets which has its own deprecation issues, and is not something I would recommend.
  • Bring back Old Download Dialog From FF98, firefox made a stupid decision to not ask when downloading files, and just download them. It does not launch any default application, it does not ask where to save file ( and it does not have a logical download manager inbuilt). for now this feature(sic) can be disabled by

    • Set browser.download.improvements_to_download_panel to false to bring back old "ask what to do" dialog
    • Set browser.download.useDownloadDir to false to make them ask where to download each time.
/*
Needed since FF-111 where they forced us to see that ugly chrome like unified extension button.
*/
/* Disable or Remove Extensions Button from Toolbar in Mozilla Firefox - Start */
#unified-extensions-button, #unified-extensions-button > .toolbarbutton-icon{
width: 0px !important;
padding: 0px !important;
}
/* Disable or Remove Extensions Button from Toolbar in Mozilla Firefox - End */
/* ALTERNATIVELY: You can improve its layout by redusing its size */
#unified-extensions-view{
--uei-icon-size: 16px;
}
.unified-extensions-item-menu-button.subviewbutton{
padding: 2px !important;
}
.unified-extensions-item-message-deck{
display: none
}
#unified-extensions-view > vbox > vbox > .unified-extensions-item{
padding-block: 0px !important;
}
.unified-extensions-item-menu-button{
margin-inline-end: 0 !important;
}
.unified-extensions-list .unified-extensions-item-menu-button{
margin-inline-end: 8px !important;
}
@Abhinav1217
Copy link
Author

This is to remember how to setup magnet link in firefox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment