MozillaZine

Web Extensions in SeaMonkey?

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

Post Posted August 19th, 2016, 1:18 am

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: 1680
Joined: October 1st, 2014, 3:25 pm

Post Posted August 19th, 2016, 8:37 am

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.)
*Always* check the changelogs BEFORE updating that important software!

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

Post Posted August 19th, 2016, 11:50 am

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

Return to SeaMonkey Builds


Who is online

Users browsing this forum: Google [Bot] and 1 guest