tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

file_favicon_change_not_in_document.html (647B)


      1 <!DOCTYPE html>
      2 <html><head>
      3  <meta http-equiv="content-type" content="text/html; charset=utf-8">
      4  <link rel="icon" href="file_bug970276_favicon1.ico" type="image/ico" id="i">
      5 </head>
      6 <body onload="onload()">
      7  <script>
      8  function onload() {
      9    var ico = document.createElement("link");
     10    ico.setAttribute("rel", "icon");
     11    ico.setAttribute("type", "image/ico");
     12    ico.setAttribute("href", "file_bug970276_favicon1.ico");
     13    setTimeout(function() {
     14      ico.setAttribute("href", "file_generic_favicon.ico");
     15      document.getElementById("i").remove();
     16      document.head.appendChild(ico);
     17    }, 1000);
     18  }
     19  </script>
     20 </body></html>