DoodleGone_modded

Replace Doodle with the normal logo

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        DoodleGone_modded
// @namespace   google
// @description Replace Doodle with the normal logo
// @version     1.2
// @include     http://*.google.*/*
// @include     https://*.google.*/*
// @resource    logo https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png
// @grant       GM_getResourceURL
// ==/UserScript==
//

var oldLogo = document.getElementById('hplogo');
if(!oldLogo) return;

var newLogo = document.createElement('img');
newLogo.id = "User-logo";
newLogo.border = 'no'
newLogo.src = GM_getResourceURL ("logo");

if(oldLogo.parentNode.childNodes[0].srcset != "")
{
  var oldsource = oldLogo.parentNode.childNodes[0];
  oldsource.srcset = newLogo.src;
  oldLogo.parentNode.replaceChild(oldsource, oldsource);
}
oldLogo.parentNode.replaceChild(newLogo, oldLogo);