mozdev.org

Mycroft[boxes]

bullet Users: Home | Search | Top 25 | Requests | Review Plugins | Contact
bullet Developers: Contribute | Submit Plugin | Edit/Update Plugin | Broken Plugins | Hosting plugins | Bugs
bullet Documentation: Table of Contents | Quick Start | Introduction | Installing | Header | <SEARCH> | <INPUT> | <INTERPRET> | <BROWSER> | Icons | Additional Documentation

Advanced Mozilla-Search Plugin Documentation.

Back to Main Table of Contents

The Mozilla-Search icon information

Top^

Creating a Mozilla-Search icon

Mozilla-Search icons are 16x16 pixels, there are no exceptions to this rule. Your icon must have one of the following extensions:

.gif
.jpg
.jpeg
.png

Although this is unsupported, Mozilla-Search will accept other types of images that the Mozilla browser is capable of displaying. However, your icon will have to end in a supported extension. Whatever extension you choose, the file name must match the file name of your .src file exactly.

Top^

How Mozilla-Search uses search icons

Mozilla-Search gathers the name of your .src file and looks for an icon of the same name with the following extensions.

.gif
.jpg
.jpeg
.png

Mozilla searches for the icon in that exact order. Once it finds a match it is done. If you or a user has previously installed a plugin with the same name and the icon does not appear to update when you install the new plugin, most likely the new image is further down the list from the original. For this reason when I create icons I choose .png as it is the last one on the list. If a site owner would like to maintain or update their Mozilla-Search plugin and icon, then they do not feel cornered into using a specific file type because whatever image the site owner chooses will always replace the icon from my plugin on the users display.

Top^ Back to Main Table of Contents More

User Contributed Notes for this section

Have a useful tip or trick to add to this section? You can use the form below to add your comment to the user contributed notes.

If you find something that no longer works, is invalid, or is no longer needed. Please let us know by contacting us through the Mycroft Mailing List.

Please do not place corrections in the user notes section, it is for helpful tips and tricks only.

Have you found and documented a feature that is not documented in these pages? Send it to us for inclusion in these documents and we will add your name to the list of contributors for this document.

User Notes: [?]

If you do not get a response to a question posted in this forum, please try sending a message to the project's mailing list or to the project owner directly.

[1] Submitted by: Jez on Friday May 21st 2004

Luckily, PNG does support transparency, so you'll be able to create searchbar icons in PNG format with transparent areas. :-)

[2] Submitted by: zi on Monday 15th November 2004 at 02:25 -0500

i'm saving an icon as a PNG-24. is this a good idea or not? i want to preserve the transparency levels.

Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
[3] Submitted by: Richard Patterson on Friday 4th March 2005 at 13:08 -0500

You should be able to use transparency with index-color PNG -- that should save a lot of space. If you are editing in the Gimp or in Photoshop, change to Index-Color mode.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050110 Firefox/1.0 (Debian package 1.0+dfsg.1-2)
[4] Submitted by: slavaf on Thursday 2nd June 2005 at 21:37 -0400

If you try to use a different name for icon then src, FireFox will create 2 entries for one plugin - one for icon and one for the search. Then if you'll try to select installed icon and run some query, FireFox will crash.

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
[5] Submitted by: Zuriga on Sunday 14th August 2005 at 03:53 -0400

Anyone know a convenient way to turn an ico
into, say, a jpg? As it is, I had to use a
screencap. >_

Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
[6] Submitted by: mazinga on Tuesday 23rd August 2005 at 16:49 -0400

i have made one but in cant display the image in the entry

what's is wrong ??

Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7.10) Gecko/20050717 Firefox/1.0.6 (ax)
[7] Submitted by: Matt on Monday 21st November 2005 at 11:52 -0500

Re: [5] Submitted by: Zuriga on Sunday 14th August 2005 at 03:53

Just change the extension to bmp.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.12) Gecko/20050919 Firefox/1.0.7
[8] Submitted by: Hy Vu on Tuesday 22nd November 2005 at 17:20 -0500

How do I get my search plugins verify by the MyCroft mozdev team?

I've contributed several search plugins and could help in the verification department if needed. Just let me know what you need.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
[9] Submitted by: David Feuer on Friday 2nd December 2005 at 09:48 -0500

It would be wonderful if Firefox included a system to re-order, remove, rename, and change icons for search engines. Having to hack around with configuration files is not the height of user-friendliness, and prevents less experienced computer users from doing this at all.

Minor thing: the Wiktionary icon should not be the same as the Wikipedia icon.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
[10] Submitted by: Markus Mueller on Saturday 25th February 2006 at 13:24 -0500

Hello,

how can I change the order of the search plugins? I want to have Wikipedia in the 1st place, but it ain't possible somehow... HELP! :-(

Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[11] Submitted by: Malte Kraus on Sunday 26th February 2006 at 12:20 -0500

there is an extension: http://maltekraus.de/Firefox/Search-Engine-Ordering/#install

or you can use the about:config entries browser.search.order.{digit} - the value of each entry should be the name of the search plugin, {digit} it's position (starting from 1)

Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8) Gecko/20060219 Firefox/1.5
[12] Submitted by: Daniel on Wednesday 15th March 2006 at 21:39 -0500

I have recently downloaded gimp. I have a .png I made from a screenshot. How do I make this image a transparent png?

Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
[13] Submitted by: Gary Makichuk on Wednesday 6th December 2006 at 09:18 -0800

I want to subscribe to FireFox Browser.
My email is garymakichuk@hotmail.com
Please let me know how to do this.

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
[14] Submitted by: anonymous on Wednesday 20th December 2006 at 07:53 -0800

Gary, just download it at getfirefox.com

Contact the Mycroft Project at mycroft.mozdev.org AT googlemail.com or see other options.
Copyright © 2000-2008. All rights reserved. Terms of Use & Privacy Policy.