change favicon with javascript
(function() {
var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
link.type = 'image/x-icon';
link.rel = 'shortcut icon';
link.href = 'http://www.stackoverflow.com/favicon.ico';
document.getElementsByTagName('head')[0].appendChild(link);
})();
Also in JavaScript:
- draw rectangle on javascript canvas
- unban command discord.js v12
- format JSON code javascript
- jquery check if screen size
- convert camelcase to sentence case javascript
- closures in javascript
- angularjs iframe src binding
- require a json as a string
- javascript var in quotes
- javascript random number
- embed discord.js
- how to freeze js object
- sending value in input angular material
- js replace blogger thumb
- how to go back one directory in git bash
- owl responsive
- latest rn fatch blob package download
- react image upload component
- jquery add input placeholder
- push javascript
- puppeteer example nodejs
- Javascript compare two arrays
- discord js check every x minutes
- tableau js api