Favicon link icons

Ever wanted your external links to not only have a little arrow icon, but to also have the site’s favicon as a link logo? Well, you can grab the script here.

It’s fairly naive, assuming that the site shares the image at /favicon.ico, but without fetching the link, there’s no way of knowing. Maybe i’ll adapt a pagesys module into providing this… hmm, a lot of work for little gain.

How to use it:

  1. Download script.js
  2. Include the file in the page(s), via a <script type="text/javascript" src="script.js"></script>, or copy&paste the code at the bottom of your global.js

Example

AfterNET
Wikipedia
HaikuNews
Google
OSnews
YourPSP
slashdot
SciFi.com
And one non-favicon site

How it should look, before and after.

Faviconlinks graphical example