Ersetzt das Google Logo und die Doodles durch das 7. Google Logo (2015-Jetzt)!
// ==UserScript==
// @version 1.0
// @name Google Logo 7 (2015-Jetzt) | Keine Doodles!
// @name:en Google Logo 7 (2015-Now) | No Doodles!
// @namespace https://www.youtube.com/user/InvisibleQuantum/
// @description Ersetzt das Google Logo und die Doodles durch das 7. Google Logo (2015-Jetzt)!
// @description:en Replace the Google logo and Doodles with the 7th Google logo (2015-Now)!
// @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
// ==/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 = '<img id="hplogo" src="https://upload.wikimedia.org/wikipedia/commons/2/2f/Google_2015_logo.svg" style="width:320px;height:108px;margin-top:95px;margin-left:-5px" alt="" />';
}
}
window.addEventListener("hashchange", changeLogo, false);
if (window.location.hash != "") {
loadingInstant = true;
instantInterval = setInterval(changeLogo, 100);
}
changeLogo();