[thelist] how to add favicon to favelets

VOLKAN ÖZÇELİK volkan.ozcelik at gmail.com
Thu Nov 16 21:56:06 CST 2006


Hi folks,

I don't know if there's a better way to rephrase the question:

When adding an ordinary link, if the site has a predefined favicon; the
bookmark displays
the favicon near the link and this adds a level of brand-image/customization
to the site.

However I haven't managed to achieve this with favelets.

I've developed several favelets (bookmarklets) for a web application;
I want to display a small favicon when adding the favelet to browser's
favorites.

I know that it is easy and possible. I STFW for sure, but couldn't find
anything of value.

My favelet is in th form:

javascript:(function(){
self.location='http://www.example.com/Add.aspx?u='+
encodeURIComponent(self.location.href)+'&i='+
encodeURIComponent('secrethashcode');
}
)();

Both web root of example.com and Add.aspx has a custom favicon defined.
( [link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /] )

But it does not show near the favelet when I add it to my bookmarks.

Am I missing something obvious?

-- 
Volkan Ozcelik
+>Yep! I'm blogging! : http://www.volkanozcelik.com/cre8/blog/
+> Going solo in Turkish: http://www.volkanozcelik.com/donkisot/
+> My projects/studies/trials/errors : http://www.sarmal.com/
+> Sardalya JavaScript Library: http://www.sarmal.com/sardalya/



More information about the thelist mailing list