NoSquint (fx)
https://addons.mozilla.org/firefox/addon/2592
Add-on Converter for SeaMonkey
http://addonconverter.fotokraina.com/
I removed the sanitize.xul overlay because I didn't want to debug it.
i.e. Tools > Clear Private Data > [check] NoSquint Site History
A workaround is to manually reset the extensions.nosquint.sites preference or wait for NoSquint to forget settings for sites not visited in the last month.
I didn't fix the Add/Remove Toolbar Buttons button on the about:nosquint page. It's broken in Firefox 36.0.4 as well. (harmless bug)
Fix:
* chrome.manifest
Code: Select all
- overlay chrome://communicator/content/sanitize.xul chrome://nosquint/content/overlay_sanitize.xul
overlay chrome://browser/content/sanitize.xul chrome://nosquint/content/overlay_sanitize.xul
- overlay chrome://navigator/content/sanitize.xul chrome://nosquint/content/overlay_sanitize.xul
Error: ReferenceError: ZoomManager is not defined
Code: Select all
+ setTimeout(function() {
ZoomManager.__defineSetter__('zoom', function(value) {
...
ZoomManager.reset = NoSquint.cmd.reset;
+ }, 2000);
Error: TypeError: $(...) is null
Code: Select all
- var popup = $('viewFullZoomMenu').childNodes[0];
+ var popup = $('menu_zoom').childNodes[0];
Find what: cmd_fullZoomEnlarge
Replace with: cmd_zoomEnlarge
Find what: cmd_fullZoomReduce
Replace with: cmd_zoomReduce
Code: Select all
+ document.getElementById('menu_zoomEnlarge').setAttribute('accesskey', 'I');
+ document.getElementById('menu_zoomReduce').setAttribute('accesskey', 'O');
Error: ReferenceError: setToolbarVisibility is not defined
Code: Select all
- var bar = $('status-bar');
- setToolbarVisibility(bar, true);
+ if (document.getElementById('status-bar').hidden) {
+ goToggleToolbar('status-bar', 'cmd_viewtaskbar');
+ updateWindowState();
+ }
Error: ReferenceError: BrowserCustomizeToolbar is not defined
Code: Select all
- return BrowserCustomizeToolbar();
+ return goCustomizeToolbar(document.getElementById('toolbar-menubar').toolbox);