SeaMonkey/AddonConverterNotes: Difference between revisions

m
NoSquint 2.1.9
(Created page with "= Notes on addons that have been processed by the SeaMonkey Add-on Converter. = ==== Googlebar Lite 5.0.6 ==== Additional tweaks needed: [http://forums.mozillazine.org/viewto...")
 
m (NoSquint 2.1.9)
 
Line 26: Line 26:
     #GBL-SearchBox > .autocomplete-history-dropmarker
     #GBL-SearchBox > .autocomplete-history-dropmarker
     { display: none !important; }
     { display: none !important; }
==== NoSquint 2.1.9 ====
Additional tweaks needed:
[http://forums.mozillazine.org/viewtopic.php?f=40&t=2955773 Mozillazine Thread]
* 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'''
    - 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
'''content\zoommanager.js'''
    Error: ReferenceError: ZoomManager is not defined
    + setTimeout(function() {
      ZoomManager.__defineSetter__('zoom', function(value) {
      ...
      ZoomManager.reset = NoSquint.cmd.reset;
    + }, 2000);
'''content\browser.js, updateZoomMenu function'''
    Error: TypeError: $(...) is null
    - var popup = $('viewFullZoomMenu').childNodes[0];
    + var popup = $('menu_zoom').childNodes[0];
'''content\browser.js, updateZoomMenu function'''
Find what: cmd_fullZoomEnlarge
Replace with: cmd_zoomEnlarge
Find what: cmd_fullZoomReduce
Replace with: cmd_zoomReduce
    + document.getElementById('menu_zoomEnlarge').setAttribute('accesskey', 'I');
    + document.getElementById('menu_zoomReduce').setAttribute('accesskey', 'O');
'''content\browser.js, enableAddonBar function'''
    Error: ReferenceError: setToolbarVisibility is not defined
    - var bar = $('status-bar');
    - setToolbarVisibility(bar, true);
    + if (document.getElementById('status-bar').hidden) {
    +  goToggleToolbar('status-bar', 'cmd_viewtaskbar');
    +  updateWindowState();
    + }
'''content\browser.js, customizeToolbar function'''
    Error: ReferenceError: BrowserCustomizeToolbar is not defined
    - return BrowserCustomizeToolbar();
    + return goCustomizeToolbar(document.getElementById('toolbar-menubar').toolbox);
Confirmed users
2,595

edits