A question about the DJGM.co.uk Toolbar . . .

You are here:  SillyDog701 > Message Centre > SD701 DevZone > [sdt=10733]
SillyDog701 Forums
Author Message
DJGM
diamond member


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 profile website
Don_HH2K
Moderator


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 profile website
DJGM
diamond member


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 profile website
Don_HH2K
Moderator


Joined: 09 May 2004
Posts: 4745
27 Jan, 2006 10:37 am [sdp=69497]  

You may want to take a look at XPIMaker, which can be used to create XPI files. I've never used it before, so I don't know how much of the XPI-building process it performs for you.

Mozilla also has a guide to making install.js files compatible with Mozilla Suite XPIs available on the XPInstaller project homepage.

UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Laptop: Turion 64 X2 @ 2GHz, 2GB DDR2-667, 100GB HD, ATI Radeon X300, 15" LCD, Seven Ultimate RC
Back to top profile website
Display posts from previous:   
Reply to topic    Forum Index > SD701 DevZone All times are CST (GMT -6)
page 1 of 1
To add your questions, comments, and for more features and more, please join SillyDog701 Message Centre. It's free! This is SillyDog 701 Message Centre (SD701 Forums).

Apple iTunes You can support SillyDog701 when you buy your favourite music, TV shows, movies from iTunes Store. You can even rent movies from iTunes Store.

*Search | FAQ | Rules and Policies | MozInfo701 - Mozilla Information Centre | SD701 Open Directory | Message Board Map | download Netscape