Google Logo 3 (1998-1999) | Keine Doodles!

Ersetzt das Google Logo und die Doodles durch das 3. Google Logo (1998-1999)!

  1. // ==UserScript==
  2. // @version 1.0
  3. // @name Google Logo 3 (1998-1999) | Keine Doodles!
  4. // @name:en Google Logo 3 (1998-1999) | No Doodles!
  5. // @namespace https://www.youtube.com/user/InvisibleQuantum/
  6. // @description Ersetzt das Google Logo und die Doodles durch das 3. Google Logo (1998-1999)!
  7. // @description:en Replace the Google logo and Doodles with the 3rd Google logo (1998-1999)!
  8. // @icon http://www.google.com/favicon.ico
  9. // @match http*://*.google.*/*
  10. // @include http*://*.google.*/*
  11. // @homepageURL https://www.youtube.com/user/InvisibleQuantum/
  12. // @supportURL https://www.youtube.com/user/InvisibleQuantum/discussion
  13. // @contributionURL https://www.youtube.com/user/InvisibleQuantum?sub_confirmation=1
  14. // @copyright 2017-07-04 // InvisibleQuantum
  15. // @license CC BY-SA
  16. // @license https://creativecommons.org/licenses/by-sa/4.0
  17. // ==/UserScript==
  18. var loadingInstant = false;
  19. var instantInterval = null;
  20. function changeLogo() {
  21. var GoogleLogo = document.getElementById("lga");
  22. var searchLogo = document.getElementById("gbqlw");
  23. if (loadingInstant) {
  24. if (document.getElementById("sfcnt") == null) {
  25. return;
  26. }
  27. clearInterval(instantInterval);
  28. loadingInstant = false;
  29. }
  30. if (GoogleLogo != null) {
  31. GoogleLogo.innerHTML = '<img id="hplogo" src="https://upload.wikimedia.org/wikipedia/commons/f/f0/Googlelogo1997.jpg" style="width:351px;height:113px;margin-top:95px;margin-left:-5px" alt="" />';
  32. }
  33. }
  34. window.addEventListener("hashchange", changeLogo, false);
  35. if (window.location.hash != "") {
  36. loadingInstant = true;
  37. instantInterval = setInterval(changeLogo, 100);
  38. }
  39. changeLogo();