Firefox & Thunderbird Add-on Converter for SeaMonkey

User Help for Seamonkey and Mozilla Suite
Post Reply
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by Frank Lion »

WLS wrote:
Frank Lion wrote:Is there really an extension around called Dog Ears? :)


Yep.

It was more one of those rhetorical type questions.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
Lemon Juice
Posts: 788
Joined: June 1st, 2006, 9:41 am

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by Lemon Juice »

Frank Lion wrote:Is there really an extension around called Dog Ears? :)

If you are interested in extensions with nice names maybe you should try Coprolalia :!: BTW, Coprolalia converts very well so SeaMonkey users can enjoy this productivity tool. Added to the list of working extensions :D
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by patrickjdempsey »

What about Frank's own submission to that genre?
https://addons.mozilla.org/en-US/firefo ... ololo-man/
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
Lemon Juice
Posts: 788
Joined: June 1st, 2006, 9:41 am

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by Lemon Juice »

patrickjdempsey wrote:What about Frank's own submission to that genre?
https://addons.mozilla.org/en-US/firefo ... ololo-man/

No SM version??? It works somehow after conversion but at times throws an error in the console - I'd have to adapt the converter - maybe I'll hold on until I see a demand for it - it appears to have fewer users than Coprolalia :lol: (Actually, 54 users may not be bad considering most of them will probably not be able to put up with this for more than two weeks :!: :roll: )
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by Frank Lion »

Ha, I had forgotten about that one!

Lemon Juice wrote:Actually, 54 users may not be bad considering

Downright amazing for an Internet meme that was funny for a few weeks over 5 years ago
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
User avatar
Philip Chee
Posts: 6475
Joined: March 1st, 2005, 3:03 pm
Contact:

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by Philip Chee »

Lemon Juice wrote:The reason for not detecting Flash is that the extension uses PluginContent:UpdateHiddenPluginUI notification to start plug-in detection and SM seems to be missing PluginContent altogether.
This is e10s and the message manager again.

Code: Select all

    // If there are any items remaining in `actions` now, they are hidden
    // plugins that need a notification bar.
    this.global.sendAsyncMessage("PluginContent:UpdateHiddenPluginUI", {
      haveInsecure: haveInsecure,
      actions: [... actions.values()],
      host: this._getHostFromPrincipal(principal),
      location: location,
    }, null, principal);

There are several parameters that "PluginContent:UpdateHiddenPluginUI" needs. What params does it use?

Phil
Lemon Juice
Posts: 788
Joined: June 1st, 2006, 9:41 am

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by Lemon Juice »

Philip Chee wrote:There are several parameters that "PluginContent:UpdateHiddenPluginUI" needs. What params does it use?

Are you asking about how it's used in Noise Control? No params are used there, the extension just listens for the message and begins some initialization when it is sent and as far as I can see it is sent on page load - most probably when there are plug-ins in the page (but I'm not 100% sure when, haven't investigated it that far).
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey
User avatar
Philip Chee
Posts: 6475
Joined: March 1st, 2005, 3:03 pm
Contact:

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by Philip Chee »

Lemon Juice wrote:
Philip Chee wrote:There are several parameters that "PluginContent:UpdateHiddenPluginUI" needs. What params does it use?

Are you asking about how it's used in Noise Control? No params are used there, the extension just listens for the message and begins some initialization when it is sent and as far as I can see it is sent on page load - most probably when there are plug-ins in the page (but I'm not 100% sure when, haven't investigated it that far).

Ah got it. The extension listens for the "PluginContent:UpdateHiddenPluginUI" notification. It doesn't send out the notification.

Phil
User avatar
Philip Chee
Posts: 6475
Joined: March 1st, 2005, 3:03 pm
Contact:

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by Philip Chee »

Lemon Juice wrote:Two extensions (I don't care about cookies and QrCodeR) spit out a common js error:

Code: Select all

console.error: no-eu-cookie-uk:
  Message: TypeError: this.contextMenuContentData is undefined
  Stack:
    updateItemVisibilities@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/lj/AppData/Roaming/Mozilla/SeaMonkey/Profiles/lmf7vii4.test2/extensions/jid1-KzOGWgsW3Ao4Q@jetpack.xpi!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js ->resource://gre/modules/commonjs/sdk/context-menu.js:1015:11

FYI: I filed Bug 1157433 - The Addon-SDK expects gContextMenuContentData to exist in the context menu code.

Which has a reviewed patch.

Phil
Lemon Juice
Posts: 788
Joined: June 1st, 2006, 9:41 am

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by Lemon Juice »

Philip Chee wrote:Ah got it. The extension listens for the "PluginContent:UpdateHiddenPluginUI" notification. It doesn't send out the notification.

Yes. I was quite surprised to see that much of the plugin messaging system is completely different in SM and Fx especially since it is more part of the rendering engine rather than the UI.

Philip Chee wrote:FYI: I filed Bug 1157433 - The Addon-SDK expects gContextMenuContentData to exist in the context menu code.

Which has a reviewed patch.

Thanks, this is very good news!
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey
Lemon Juice
Posts: 788
Joined: June 1st, 2006, 9:41 am

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by Lemon Juice »

Converter update for one Thunderbird extension:

Thunderbird Message Filter Import/Export Enhanced 1.0.3
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey
Lemon Juice
Posts: 788
Joined: June 1st, 2006, 9:41 am

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by Lemon Juice »

I've made a change to the converter:

1. All converted extensions will get a suffix appended to the name. The default is [converted] but can be changed or turned off in options. This will make it easier to distinguish installed converted extensions in add-ons manager.

2. If SeaMonkey is added to install.rdf it is prepended with an XML comment that explains it is actually a SeaMonkey section.

And added one extension to list that seems to work fine:

Video Resumer
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey
Anonymosity
Posts: 8779
Joined: May 7th, 2007, 12:07 pm

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by Anonymosity »

I noticed that suffix, but I thought -SM- would be better, since it is shorter. Another Thunderbird extension, "Show Address Only" works in SeaMonkey.
Lemon Juice
Posts: 788
Joined: June 1st, 2006, 9:41 am

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by Lemon Juice »

Anonymosity wrote:I noticed that suffix, but I thought -SM- would be better, since it is shorter.

I chose "converted" so that it was clear to everyone what this means, I think new users might not know what -SM- stands for. Actually, there were even longer suggestions in this thread like "converted from Firefox" :wink: But you can bookmark this link for yourself if you have your own preference:

http://addonconverter.fotokraina.com/?appendName=-SM-

:!:

Anonymosity wrote:Another Thunderbird extension, "Show Address Only" works in SeaMonkey.

Yes, I know because I was the one who gave you the suggestion :mrgreen:

And there's also another one:

Show Password

And a comment about LiveClick 1.0.1 — it still doesn't work fully in SM - when live bookmarks are added to bookmarks toolbar then this extension will work only right after adding the live bookmark in the same window - it will stop working in the toolbar in new windows and after restart. However, it will work fine in the bookmarks menu.
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Firefox & Thunderbird Add-on Converter for SeaMonkey

Post by Frank Lion »

Lemon Juice wrote:
Anonymosity wrote:I noticed that suffix, but I thought -SM- would be better, since it is shorter.

I chose "converted" so that it was clear to everyone what this means, I think new users might not know what -SM- stands for. Actually, there were even longer suggestions in this thread like "converted from Firefox" :wink:

A better suggestion than that original one -

'We few, we happy few, we band of brothers;
For he to-day that sheds his blood with me
Shall be my brother; be he ne’er so vile,
This day shall gentle his condition;
And gentlemen in England now-a-bed
Shall think themselves accurs’d they were not here,
And hold their manhoods cheap whiles any speaks
That fought with us upon Saint Crispin’s day - converted'
.

That one was going nowhere and didn't even specify SeaMonkey in the name!
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
Post Reply