Web Extensions in SeaMonkey?

Discussion about Seamonkey builds
Post Reply
Lemon Juice
Posts: 788
Joined: June 1st, 2006, 9:41 am

Web Extensions in SeaMonkey?

Post by Lemon Juice »

I'm wondering if support for web extensions is going to be ported to SM. In 2.45 and 2.46 I tried to install one web extension and it appeared in the extension list but gave these errors:

Code: Select all

1471593699278   addons.webextension.@mousegesture       WARN    Loading extension '@mousegesture': Reading manifest: Error processing permissions.0: Unknown permission "tabs"
Extension error: Cc['@mozilla.org/addons/policy-service;1'] is undefined resource://gre/modules/ExtensionManagement.jsm:131 :: init@resource://gre/modules/ExtensionManagement.jsm:131:9
startupExtension@resource://gre/modules/ExtensionManagement.jsm:142:7
startup/<@resource://gre/modules/Extension.jsm:1401:7
To me this looks like some support has been ported from Fx since manifest.json is read by SM but some necessary modules are still missing. I'm wondering if we can expect some compatibility with web extensions in the future?
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey
barbaz
Posts: 1504
Joined: October 1st, 2014, 3:25 pm

Re: Web Extensions in SeaMonkey?

Post by barbaz »

Does simple WebExtension such as this tutorial or any of these work?

Also, is there any point porting extensions to WebExtensions or generally using WebExtensions APIs in add-ons where the goal is long-term SeaMonkey compatibility? (Firefox compatibility doesn't matter here.)
Lemon Juice
Posts: 788
Joined: June 1st, 2006, 9:41 am

Re: Web Extensions in SeaMonkey?

Post by Lemon Juice »

barbaz wrote:Does simple WebExtension such as this tutorial or any of these work?
I tried the simplest extension from that repo "Borderify" and it doesn't work, either:

Code: Select all

Extension error: Cc['@mozilla.org/addons/policy-service;1'] is undefined resource://gre/modules/ExtensionManagement.jsm:131 :: init@resource://gre/modules/ExtensionManagement.jsm:131:9
startupExtension@resource://gre/modules/ExtensionManagement.jsm:142:7
startup/<@resource://gre/modules/Extension.jsm:1401:7
barbaz wrote:Also, is there any point porting extensions to WebExtensions or generally using WebExtensions APIs in add-ons where the goal is long-term SeaMonkey compatibility? (Firefox compatibility doesn't matter here.)
I don't understand what you mean. I'm not talking about porting extensions to WebExtensions but about running existing WebExtensions extensions for Firefox in SeaMonkey. I think SM users might benefit from being able to run those extensions however simple they may be.
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey
Post Reply