// ==UserScript== // @version 1.0 // @name Google Logo 5 (2011-2013) | Keine Doodles! // @name:en Google Logo 5 (2011-2013) | No Doodles! // @namespace https://www.youtube.com/user/InvisibleQuantum/ // @description Ersetzt das Google Logo und die Doodles durch das 5. Google Logo (2011-2013)! // @description:en Replace the Google logo and Doodles with the 5th Google logo (2011-2013)! // @icon http://www.google.com/favicon.ico // @match http*://*.google.*/* // @include http*://*.google.*/* // @homepageURL https://www.youtube.com/user/InvisibleQuantum/ // @supportURL https://www.youtube.com/user/InvisibleQuantum/discussion // @contributionURL https://www.youtube.com/user/InvisibleQuantum?sub_confirmation=1 // @copyright 2017-07-04 // InvisibleQuantum // @license CC BY-SA // @license https://creativecommons.org/licenses/by-sa/4.0 // @downloadURL none // ==/UserScript== var loadingInstant = false; var instantInterval = null; function changeLogo() { var GoogleLogo = document.getElementById("lga"); var searchLogo = document.getElementById("gbqlw"); if (loadingInstant) { if (document.getElementById("sfcnt") == null) { return; } clearInterval(instantInterval); loadingInstant = false; } if (GoogleLogo != null) { GoogleLogo.innerHTML = ''; } } window.addEventListener("hashchange", changeLogo, false); if (window.location.hash != "") { loadingInstant = true; instantInterval = setInterval(changeLogo, 100); } changeLogo();