Skip to content Skip to sidebar Skip to footer

Favicon Disappears After Preventing Execution Of A Specific Inline Script Tag By Tampemonkey

I use this code in Tampermonkey to prevent certain script tag from executing: https://stackoverflow.com/a/50024143/8849796 (function() { 'use strict'; window.stop(); co

Solution 1:

I solved it by setting the favicon href attribute using the following code after the code in my question.

var favi=document.querySelector('[rel="shortcut icon"]');
favi.setAttribute("href",favi.getAttribute("href"));

Post a Comment for "Favicon Disappears After Preventing Execution Of A Specific Inline Script Tag By Tampemonkey"