« Komodo 4.4 and a Kitchen Sink | Main | Bonjour! »

Mozilla file icon magic

Every now and then I find some piece of code in the Mozilla code base that makes me go WTF?  Today, I found out about the moz-icon scheme.  Try this URL in Firefox: 

moz-icon://.js?size=128

Of course it's no secret, other than not being documented, but I found an interesting use via css.  Sometimes I'm the last one to know about something.

Comments

I remember discovering that little gem awhile ago. But unfortunately, it only does 16x16 and 32x32 size icons (on Windows, at least). Which is *really* annoying.

It only seems to work up to 64x64 on Linux (Ubuntu)

It goes up to 128 on OS X.

Considering both Windows and OS X have higher resolution icons than that, it might be nice if we could get to them.

I know Safari must have this feature too, but I've searched high and low and cannot find a mention of a css-property, or protocol handler for webkit to do this. I might even have to download the webkit source to find it

Does anyone know where can I find the complete extensions list? Also how to change the default icons would be useful.

Post a comment

If you have a TypeKey or TypePad account, please Sign In