Skip to content

Instantly share code, notes, and snippets.

@arantius
Created November 4, 2012 23:17
Show Gist options
  • Save arantius/4014321 to your computer and use it in GitHub Desktop.
Save arantius/4014321 to your computer and use it in GitHub Desktop.
google logo script
// ==UserScript==
// @name Google Logo
// @namespace test
// @include http://*.google.*/
// @include https://*.google.*/
// @version 1
// ==/UserScript==
var oldLogo = document.getElementById('hplogo');
var newLogo = document.createElement('img');
newLogo.id = "User-Logo";
newLogo.border = 'no'
newLogo.src = 'http://www.google.com/logos/2012/Googles_14th_Birthday-2012-2-hp.gif';
oldLogo.parentNode.replaceChild(newLogo, oldLogo);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment