MozillaZine

Firefox & Thunderbird Add-on Converter for SeaMonkey

User Help for Seamonkey and Mozilla Suite
Anonymosity
 
Posts: 8453
Joined: May 7th, 2007, 12:07 pm

Post Posted October 9th, 2014, 2:02 pm

Andy Boze wrote:I was sad to find that the JSView extension no longer works with SM 2.30.

It does not work with 2.29.1 either. I just noticed that. I do not use it that often.

therube

User avatar
 
Posts: 17822
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted October 10th, 2014, 7:42 am

> It does not work with 2.29.1 either

It does.

Image
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

Anonymosity
 
Posts: 8453
Joined: May 7th, 2007, 12:07 pm

Post Posted October 10th, 2014, 12:07 pm

That button was showing nothing for me. I now have the new version, which works.

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

Post Posted October 30th, 2014, 3:44 am

Today I was looking for a nice extension to inspect fonts on web pages and found Font Finder, which converts very well for SeaMonkey. This extension has some support for ancient SM versions but nevertheless needs all the default conversions - despite the converter's warning that SM is already supported. It is a good alternative to fontinfo, which is partly broken in SM.

Moreover, a small converter update today and as a result Search by Image for Google works in SM after conversion!
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey

NZRussell
 
Posts: 8
Joined: October 31st, 2014, 1:53 am

Post Posted October 31st, 2014, 2:05 am

Have found the converter today and it has successfully converted Greasemonkey for me and it's working on SM 2.30. However, I've also tried to convert Vertical Toolbar 1.0.7 and that has failed. The message I get is -
"XML Parsing Error: undefined entity
Location: chrome://verticaltoolbar/content/options.xul
Line Number 21, Column 1:<prefwindow id="verticaltoolbarPrefs"
^"
Unfortunately, I don't if or how to fix this.

Perhaps there is an answer and if anybody can provide it I will surely appreciate it.

Thanks in advance.

NZRussell

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

Post Posted October 31st, 2014, 8:14 am

NZRussell wrote:Have found the converter today and it has successfully converted Greasemonkey for me and it's working on SM 2.30.

Interesting as I found Greasemonkey not to work with SM some time ago. I checked today and it was at least partly broken - options didn't show and there was an error on initialization, which implies it may not work properly.

But - I've made a few changes to the converter to make Greasemonkey more compatible - no more init errors and options are accessible. There's still a small js error when adding a new script but everything seems to work fine and as far as I can see this error may be inconsequential. Try converting again and see how it works. I'm not a greasemonkey user so I would appreciate any reports on its behaviour in SM.

NZRussell wrote:However, I've also tried to convert Vertical Toolbar 1.0.7 and that has failed. The message I get is -
"XML Parsing Error: undefined entity
Location: chrome://verticaltoolbar/content/options.xul
Line Number 21, Column 1:<prefwindow id="verticaltoolbarPrefs"
^"

Entity errors in options are the smallest problem. This extension affects browser's UI and because SM's UI is quite different from Fx I think it would be quite difficult to port it to SM.
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey

Philip Chee

User avatar
 
Posts: 6475
Joined: March 1st, 2005, 3:03 pm

Post Posted October 31st, 2014, 9:43 am

NZRussell wrote:Have found the converter today and it has successfully converted Greasemonkey for me and it's working on SM 2.30.
It's actually very easy to add SeaMonkey support to Greasemonkey. For a while there were two of us trying to get our patches accepted by the GM developers. Unfortunately none of them expressed any interest whatsoever, so we gave up and moved on. More recently there is now a fork of Greasemonkey called Scriptish that supports SeaMonkey out of the box:
https://addons.mozilla.org/seamonkey/addon/scriptish/
NZRussell wrote:However, I've also tried to convert Vertical Toolbar 1.0.7 and that has failed. The message I get is -
"XML Parsing Error: undefined entity
Location: chrome://verticaltoolbar/content/options.xul
Line Number 21, Column 1:<prefwindow id="verticaltoolbarPrefs"

It's cheating by borrowing strings from Firefox:
Code: Select all
   <!ENTITY % browserDTD   SYSTEM "chrome://browser/locale/browser.dtd" >
   <!ENTITY % customizeDTD SYSTEM "chrome://global/locale/customizeToolbar.dtd" >

http://mxr.mozilla.org/mozilla-central/source/browser/locales/en-US/chrome/browser/browser.dtd
Code: Select all
viewCustomizeToolbar.label
Their overlay.xul also borrows strings from browser.dtd

A Q&D fix is to take the Firefox en-US browser.dtd and stick it into the vertical toolbar XPI. Somewhere in chrome/locale/en-US/verticaltoolbar/
And then change references from
chrome://browser/locale/browser.dtd
to
chrome://verticaltoolbar/locale/browser.dtd

Of course this will break all the other languages that vertical toolbar supports.

Phil

Philip Chee

User avatar
 
Posts: 6475
Joined: March 1st, 2005, 3:03 pm

Post Posted October 31st, 2014, 9:47 am

Code: Select all
<prefwindow id="verticaltoolbarPrefs"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        title="&verticaltoolbar.toolbarname; - &options.title;"
        windowtype="VerticalToolbar:Options"
        buttons="accept,extra2"
        buttonlabelaccept="&saveChanges.label;"
        buttonlabelextra2="&viewCustomizeToolbar.label;"
        onload="PrefsUI.init();"
        ondialogaccept="PrefsUI.done();"
        ondialogcancel="PrefsUI.done();"
        ondialogextra2="PrefsUI.done(true);">
Or just change "&viewCustomizeToolbar.label;" to "Customize…"

Phil

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

Post Posted October 31st, 2014, 1:23 pm

Philip Chee wrote:It's actually very easy to add SeaMonkey support to Greasemonkey. For a while there were two of us trying to get our patches accepted by the GM developers. Unfortunately none of them expressed any interest whatsoever, so we gave up and moved on. More recently there is now a fork of Greasemonkey called Scriptish that supports SeaMonkey out of the box:
https://addons.mozilla.org/seamonkey/addon/scriptish/

But I wonder if Scriptish is still being developed? The last update is almost 2 years old and no current news on any maintenance work. Greasemonkey appears to have taken up development recently and new versions are coming out quite frequently. Maybe back then their whole project was in a stagnant state and that's why accepting patches for SM was too much for them for any reasons?

Anyway, I looked at Greasemonkey closer again, tried out a few scripts and they ran fine so I think it is in a workable state after running through the converter. I only noticed that editing scripts didn't work - GM uses Scratchpad that is not available under SeaMonkey so that wouldn't work obviously. I only managed to get rid of importing this Scratchpad in the converter so at least now it is possible to define an external editor and it will run fine from GM options. So if anyone wants to try Greasemonkey then please use the converter again :!:

Philip Chee wrote:
NZRussell wrote:However, I've also tried to convert Vertical Toolbar 1.0.7 and that has failed. The message I get is -
"XML Parsing Error: undefined entity
Location: chrome://verticaltoolbar/content/options.xul
Line Number 21, Column 1:<prefwindow id="verticaltoolbarPrefs"

It's cheating by borrowing strings from Firefox:
Code: Select all
   <!ENTITY % browserDTD   SYSTEM "chrome://browser/locale/browser.dtd" >
   <!ENTITY % customizeDTD SYSTEM "chrome://global/locale/customizeToolbar.dtd" >

http://mxr.mozilla.org/mozilla-central/source/browser/locales/en-US/chrome/browser/browser.dtd
Code: Select all
viewCustomizeToolbar.label
Their overlay.xul also borrows strings from browser.dtd

A Q&D fix is to take the Firefox en-US browser.dtd and stick it into the vertical toolbar XPI. Somewhere in chrome/locale/en-US/verticaltoolbar/
And then change references from
chrome://browser/locale/browser.dtd
to
chrome://verticaltoolbar/locale/browser.dtd

As I said earlier the entities is just the tip of the iceberg and easy to handle but the question is what next? I tried it and no way. Vertical Toolbar appears to apply overlays to specific UI elements which are different in Fx and SM. Probably one could port it with manual work but I think this is too much for an automated converter.
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey

barbaz
 
Posts: 1677
Joined: October 1st, 2014, 3:25 pm

Post Posted October 31st, 2014, 2:07 pm

Lemon Juice wrote:But I wonder if Scriptish is still being developed? The last update is almost 2 years old and no current news on any maintenance work.

Scriptish is not dead, the release cycle is just really slow:
https://addons.mozilla.org/seamonkey/addon/scriptish/versions/
(last release 30 April 2014, works in current SeaMonkey)

https://github.com/scriptish/scriptish/commits/master
(last commits only about a week ago)
*Always* check the changelogs BEFORE updating that important software!

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

Post Posted October 31st, 2014, 2:22 pm

barbaz wrote:
Lemon Juice wrote:But I wonder if Scriptish is still being developed? The last update is almost 2 years old and no current news on any maintenance work.

Scriptish is not dead, the release cycle is just really slow:
https://addons.mozilla.org/seamonkey/addon/scriptish/versions/
(last release 30 April 2014, works in current SeaMonkey)

https://github.com/scriptish/scriptish/commits/master
(last commits only about a week ago)

This is good news, thanks!
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey

Farby
 
Posts: 19
Joined: June 28th, 2011, 1:47 am
Location: Minsk, Belarus

Post Posted November 1st, 2014, 12:45 pm

Philip Chee wrote:It's actually very easy to add SeaMonkey support to Greasemonkey.

Phil


I like Greasemonkey...
Marti Martz creates Greasemonkey port for SM
and my port greasemonkey-2.2.0.32-fx+sm.xpi

p/s thanks Philip Chee for your help for create port
Life sometimes throws this what you want to find ...

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

Post Posted November 3rd, 2014, 8:09 am

Converter update today: two small but handy extensions now work after conversion:

:!: :mrgreen:
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey

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

Post Posted November 18th, 2014, 4:55 pm

Small update to the converter so that Drag & DropZones works in SM. BTW, what an interesting extension, someone had an excellent idea - it's like a context menu in another dimension!
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey

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

Post Posted November 23rd, 2014, 7:28 pm

Converter update: Progre works in SeaMonkey!
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey

Return to SeaMonkey Support


Who is online

Users browsing this forum: No registered users and 2 guests