Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @version 1.0
- // @name XDDDDDDDDDDD
- // @namespace joo
- // @description XD
- // @icon http://www.google.com/favicon.ico
- // @match http*://*.google.*/*
- // @include http*://*.google.*/*
- // @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 = '<a href="https://www.gunsamerica.com/NewToday/"><img id="hplogo" src="https://i.imgur.com/SXTWY8m.png" style="width:320px;height:116px;margin-top:95px;margin-left:-5px" alt="" />';
- GoogleLogo.innerHTML = '<a href="https://www.gunsamerica.com/NewToday/"><img id="hplogo" src="https://i.imgur.com/SXTWY8m.png" style="width:550px;height:200px;margin-top:10px;margin-left:-5px" alt="" />';
- }
- }
- window.addEventListener("hashchange", changeLogo, false);
- if (window.location.hash != "") {
- loadingInstant = true;
- instantInterval = setInterval(changeLogo, 100);
- }
- changeLogo();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement