Would it be possible using only JavaScript and HTML to dynamically generate a favicon, using the current page's favicon as a background, and a random number in the foreground?  For example, lets say the current favicon looks similar to this:  ===...
code :  var newurl = window.location.protocol + "//" + window.location.host + window.location.pathname +"?"+ queryStr;  window.history.pushState({path:newurl},'',newurl)   current scenario :  everytime when window.history.push...
My PM has a requirement that changing the favicon to the animated loading image. it only works in Firefox if I simply point the link.href to a gif file.  I did some researches and find that chrome doesn't support animated favicon. but wiki says c...
I'd like to add favicons to my site using favicon.ico.  however I want to load a generic icon if the site does not provide one.  How can I test for the presense of a favicon and if one is not present manipulate the DOM to point to a generic favic...
Everybody knows how to set up a favicon.ico link in HTML:  <link rel="shortcut icon" href="http://hi.org/icon.ico" type="image/x-icon">   But I think it is just silly that for a tiny several-byte icon you need yet anothe...
How can you remove the favicon using Javascript in google chrome? The goal is to return it to the browser default, which is in this case a blank image.  I found this question, but it doesn't work if you leave the link.href attribute as empty.  Ev...
The manifest and the favicon are dependent on the light/darkmode is there any way of changing them as the user changes the mode in the operating system?  Ive got the event listener firing    window.matchMedia('(prefers-color-scheme: dark)').a...
What is the final/best recommendation for how to serve favicon.ico in ASP.NET MVC?  I am currently doing the following:   Adding an entry to the very beginning of my RegisterRoutes method:  routes.IgnoreRoute("favicon.ico");  Placing favicon....
How can we check favicon provided by Google API is the default globe?  https://www.google.com/s2/u/0/favicons?domain=facebook.com returns the favicon of the facebook, where as https://www.google.com/s2/u/0/favicons?domain=anyRandomFakeDomain.io retur...
I want to load the favicon non-blocking and let the browser prioritize.  <link rel="preload" href="/assets/favicon.ico"       as="image" onload="this.rel='shortcut icon'" sizes="196x196"> <nosc...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.