How to create a favicon in javascript?

Biliusest

New Member
I want to add a favicon to a website to be able to identify it's tab. I do not want the favicon to be a file, though. What is the best way to create one in Javascript?Reasons
  • A favicon file requires an additional HTTP request which increases the page load time.
  • Changing the web server might change static content serving to another fashion, which causes headaches.
 
Back
Top