Determining the favicon file (.ico extension) on the client side?
I know this is possible because this is how bookmarklets work for social bookmarking sites like delicious.

1.) Google has an API that will pull it for you but it only works about 80% of the time.

2.) Checking the default location host.com/favicon.ico does not work very often, maybe 50%.

The links I'm looking for look like this:

    <link href="/static/27009/images/favicon.ico>
    <link rel="shortcut icon" href="/static/favicon.ico" />

One idea was to load the site into a `visibility:none` iframe and pull the info. out, by searching the text for xxxx.ico.

Or if it is possible to access the iframe dom and just grab it that way.

How do I pull the favicon location client side?


Determining the favicon file (.ico extension) on the client side?
===

I know this is possible because this is how bookmarklets work for social bookmarking sites like delicious.

1.) Google has an API that will pull it for you but it only works about 80% of the time.

2.) Checking the default location host.com/favicon.ico does not work very often, maybe 50%.

The links I'm looking for look like this:

    <link href="/static/27009/images/favicon.ico>
    <link rel="shortcut icon" href="/static/favicon.ico" />

One idea was to load the site into a `visibility:none` iframe and pull the info. out, by searching the text for xxxx.ico.

Or if it is possible to access the iframe dom and just grab it that way.

How do I pull the favicon location client side?

