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

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

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

<p>The links I'm looking for look like this:</p>

<pre><code>&lt;link href="/static/27009/images/favicon.ico&gt;
&lt;link rel="shortcut icon" href="/static/favicon.ico" /&gt;
</code></pre>

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

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

<p>How do I pull the favicon location client side?</p>
