Ticket #140 (closed enhancement: fixed)

Opened 18 months ago

Last modified 18 months ago

Update to More Tools Menu extension to get it working in Firefox 3.0

Reported by: morac99-firefox@… Owned by: t-bone
Priority: major Component: More Tools Menu
Version: Severity: Broken
Keywords: Firefox 3.0 Cc:

Description

I coded a fix in moretools.js to get around the fact that DOMInsertNode events no longer fire before the DOMContentLoaded event when a browser window opens in Firefox 3.0. See bug 90983.

The new method clones the window at startup and then compares the original Tool menu state to the new one and moves anything that was added. The reason it clones the whole window, is that cloning the Tools popup menu or Tools toolbar entry, prevents extensions from inserting items into the toolbar. I tried to clone the whole document, but that throws an exception so this was the best method that actually worked.

Attachments

moretools.js Download (1.8 KB) - added by morac99-firefox@… 18 months ago.
replacement moretools.js
moretools.2.js Download (2.0 KB) - added by morac99-firefox@… 18 months ago.
Fixed so menu items after the "Options" entry are moved as well. (replaces first attachment)

Change History

Changed 18 months ago by morac99-firefox@…

replacement moretools.js

Changed 18 months ago by morac99-firefox@…

Fixed so menu items after the "Options" entry are moved as well. (replaces first attachment)

Changed 18 months ago by morac99-firefox@…

I don't have permission to replace the first attachment, but moretools2.js should replace moretools.js. The older version did not move items added at the end of the Tools menu. The newer version corrects that.

Changed 18 months ago by t-bone

(In [414]) Refs #140

  • Incorporate submitted code, plus enhancements. Still requires testing.

Changed 18 months ago by t-bone

(In [417]) Refs #140

  • After continued problems, re-integrate submitted code without modification, use chrome.manifest to ensure it applies to FF3 only.

Changed 18 months ago by t-bone

  • status changed from new to closed
  • resolution set to fixed

Version 1.1 is  now available and will be on AMO shortly.

Add/Change #140 (Update to More Tools Menu extension to get it working in Firefox 3.0)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.