| SillyDog701 Forums |
| Author |
Message |
DJGM


Joined: 19 Jun 2002 Posts: 4371 Location: Manchester, England, UK
|
26 Jan, 2006 6:33 pm A question about the DJGM.co.uk Toolbar . . . |
[sdp=69459] |
|
Several weeks ago, I released the DJGM.co.uk Toolbar v1.0, but for Firefox only. Now that I've
upgraded/migrated from Mozilla App-Suite 1.7.12, to Seamonkey 1.0 beta as my primary web
browser, I'd like to make the toolbar available to install as a SeaMonkey extension.
Any idea how I should go about doing this? Would anyone be willing to help me out with this?
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8) Gecko/20051219 SeaMonkey/1.0b
SeaMonkey = Swiss Army Knife: It's versatile, reliable, and contains useful tools.
Windows Internet Explorer = Old Swiss Cheese: Full of holes, and it stinks! |
|
| Back to top |
|
 |
Don_HH2K


Joined: 09 May 2004 Posts: 4745
|
26 Jan, 2006 7:00 pm |
[sdp=69465] |
|
I'd be willing to help.
As for going about porting it, there may not be a lot of work that needs to be done. First, you should see how much of it works in Seamonkey; try placing the .jarfile for the Toolbar in seamonkey/chrome, then manually register the JAR to Seamonkey in installed-chrome.txt using the same syntax that the preexisting entries follow, basing it on the JAR file's directory structure. So, let's say you had toolbar.jar!/content/chrome.rdf and toolbar.jar!/locale/en-GB/locale/chrome.rdf, you'd add those into installed-chrome.txt like this:
| Code: | content,install,url,jar:resource:/chrome/toolbar.jar!/content/
locale,install,url,jar:resource:/chrome/toolbar.jar!/locale/en-GB/locale/ |
Then delete chrome.rdf, overlays.rdf, and stylesheets.rdf from seamonkey/chrome (they will be rebuilt on launch) and fire up Seamonkey.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051205 Donzilla/1.0 (WML/1.3)
Laptop: Turion 64 X2 @ 2GHz, 2GB DDR2-667, 100GB HD, ATI Radeon X300, 15" LCD, Seven Ultimate RC |
|
| Back to top |
|
 |
DJGM


Joined: 19 Jun 2002 Posts: 4371 Location: Manchester, England, UK
|
26 Jan, 2006 7:40 pm |
[sdp=69475] |
|
I was wondering ... since Mozilla App-Suite and SeaMonkey both use install.js script files for the
installation of extensions/themes would it work if I added an install.js file to the existing XPI?
If so, what would need to be written in the install.js file, or could I edit an existing install.js file
from a similar extension, such as the Netscape Toolbar that was bundled with Netscape 7.2.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8) Gecko/20051219 SeaMonkey/1.0b
SeaMonkey = Swiss Army Knife: It's versatile, reliable, and contains useful tools.
Windows Internet Explorer = Old Swiss Cheese: Full of holes, and it stinks! |
|
| Back to top |
|
 |
Don_HH2K


Joined: 09 May 2004 Posts: 4745
|
|
| Back to top |
|
 |
|