How do I Get a website’s favicon using JavaScript?

Here are 2 working options, I tested over 100 urls and got different results which each option.
Please note, this solution is not JS, but JS may not be necessary.

<!-- Free --> 
<img height="16" width="16" src="http://www.google.com/s2/favicons?domain=www.edocuments.co.uk" />
<!-- Paid -->
<img height="16" width="16" src="http://grabicon.com/edocuments.co.uk" />

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)