What I mainly wanted to do was use my own icon on a subdomain that used the same favicon as the main domain. IOW:
subdomain.domain.com = myicon
domain.com = site's default favicon
I got it working in Opera and FireFox, but now I need someone familiar with the code to help get it working for SeaMonkey.
For Opera - the link above worked, but I didn't realize the the conversion page put a carriage return every 76 characters. So what I did was paste that into Notepad and kept changing the widths of the form so I could tell the manual breaks from the normal word wraps, then I deleted the manual breaks. I pasted that into the .js file and changed the website address and it worked fine.
For Firefox - I have a few questions, even though I got it to work correctly:
https://addons.mozilla.org/en-us/firefo ... src=search (Says it works with 20.0a1)
https://addons.mozilla.org/en-us/firefo ... ll.rdf#top says
Code: Select all
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>4.0</em:minVersion>
<em:maxVersion>18.0a1</em:maxVersion>
I didn't change that - I did change the name of the extension so that I could recognize it, but doesn't that mean it shouldn't work on FireFox after 18.0a1 ??? - But it installed fine on Firefox 19.0. Why?
For bootstrap.js : https://addons.mozilla.org/en-us/firefo ... rap.js#top - first off - how do you get the file to display nicely like that? I opened in in WordPad and it worked, but it was all run together and very hard to read.
Second, I didn't really know what I was doing, but I changed
Code: Select all
if(doc.domain&&doc.domain.indexOf('google.')!==-1&&(doc.domain.indexOf('google.')===0||doc.domain.indexOf('www.google.')===0))
to
Code: Select all
if(doc.domain&&doc.domain.indexOf('subdomain.domain')!==-1&&(doc.domain.indexOf('subdomain.domain')===0||doc.domain.indexOf('subdomain.domain')===0))
It worked fine, but I'm not sure why there are three entries ...
Finally, for SeaMonkey, I used this link https://developer.mozilla.org/en-US/doc ... eaMonkey_2 and changed Install.rdf to:
Code: Select all
<em:targetApplication>
<Description>
<em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}<em:id>
<em:minVersion>2.0</em:minVersion>
<em:maxVersion>2.20</em:maxVersion>
With most extensions, that will get the extension to load - it might not work, but it will still load. In this case, it just said "Null could not be loaded b/c it is not compatible with SeaMonkey 2.15.2" - where did Null come from, and why didn't it work?
Finally - I don't understand the code enough to know what it is doing, so if there are any differences in bootstrap.js between Firefox and SeaMonkey, I won't know how to make them.
Thanks in advance for any help!!!