Instantly share code, notes, and snippets.
This file contains hidden or 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
// 'about:'-Button script for Firefox 89+ by Aris | |
// | |
// Need a different 'about' page button? | |
// - replace 'about:config' url with a different 'about:' url | |
// - replace button id | |
// - replace icon / icon url / icon color | |
(function() { | |
try { |
nollinvoyd
/ RestartFirefoxButton_Movable.uc.js
Created
October 3, 2022 18:27
— forked from Sporif/RestartFirefoxButton_Movable.uc.js
Restart Button for Firefox. An updated version of https://github.com/Endor8/userChrome.js/tree/master/restartfirefoxbutton_movable. Middle click also empties the script cache.
This file contains hidden or 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
(function() { | |
if (location != 'chrome://browser/content/browser.xul' && location != 'chrome://browser/content/browser.xhtml') | |
return; | |
try { | |
CustomizableUI.createWidget({ | |
id: 'restart-button', | |
type: 'custom', | |
defaultArea: CustomizableUI.AREA_NAVBAR, | |
onBuild: function(aDocument) { |