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...
I'm opening a new window into which I'm injecting HTML for both the body and the head. The problem is in the head section: the HTML includes both the title and the favicon but the favicon doesn't show. This is the code and the jsFiddle: h...
I am using Angular 6 and can't setup favicon for my app. It is absent at all.   Here is my angular.json file:  {   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",   "version": 1,   "newProjectRoot"...
Given a domain, how can I request the default favicon using Node? The default favicon location is at domain/favicon.ico Can I use a simple https.get()? There seem to be at least 5 native ways to do this?  So far the first method does not work. I get...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.