java.js
// Changes the favicon, and allows you to set a wait period
Changes the favicon, and allows you to set a wait period
Changes the favicon and allows you to set a wait period
async function editFaviconAndWait(newFavicon, waitTime) {
	var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
	link.type = 'image/x-icon';
	link.rel = 'shortcut icon';
	link.href = newFavicon;
	document.getElementsByTagName('head')[0].appendChild(link);
	await sleep(waitTime);
}
async function editFaviconAndWait ( newFavicon , waitTime ) { var link = document . querySelector ( "link[rel*='icon']" ) || document . createElement ( 'link' ) ; link . type = 'image/x-icon' ; link . rel = 'shortcut icon' ; link . href = newFavicon ; document . getElementsByTagName ( 'head' ) [ 0 ] . appendChild ( link ) ; await sleep ( waitTime ) ; }
Changes the favicon, and allows you to set a wait period
Changes the favicon and allows you to set a wait period