[Greasemonkey] How to ad an icon to the Status bar?

Bill Donnelly donnelly at snowcrest.net
Fri Sep 8 16:28:01 EDT 2006


I don't think that is possible. You would have to compile your GmScript
into an extension and then enhance it. (maybe someday that could be an
enhancement -- adding an icon and telling it what function to execute --
or it could be an interesting extension by itself)

Or you could use bookmarklets. Although I think there are security
issues when making GmScript functions callable from a bookmarklet.
(I am confused at this point what the complete ramifications of using
unsafeWindow are -- as far as I can see, it's not fully documented anywhere,
especially not understandably)

You can also put the complete code in the bookmarklet itself. I also use
the FavIcon Picker extension to create a bookmarklet toolbar using the
Bookmarks Toolbar Folder.

http://www.snowcrest.net/donnelly/firefox/extensions/favicon_picker-0.2.7.xpi


Stefano POGLIANI wrote:
> Is it possible (and, if it is, how) from a GM script to add an icon to 
> the FF Status bar?
> I would like to give my users the possibility to actually use this
> mechanism as a type of "minimized window".... so that, when they will
> hit the icon, my GM script will execute some further processing...
>
> Thanks a lot in advance for your help
> Best regards
>
> /stefano
>
>
> P.S.    I would prefer to keep it in a script instead of creating an 
> extension...
>


More information about the Greasemonkey mailing list