Skip to content

Instantly share code, notes, and snippets.

@noromanba
Forked from arantius/google-logo.user.js
Created November 5, 2012 16:47
Show Gist options
  • Save noromanba/4018248 to your computer and use it in GitHub Desktop.
Save noromanba/4018248 to your computer and use it in GitHub Desktop.
google logo jeu de animated-gif for UserScript
// ==UserScript==
// @name Google Logo
// @namespace test
// @version 1.0.3
// @include http://*.google.tld/
// @include https://*.google.tld/
// @downloadURL https://raw.github.com/gist/4018248/google-logo.user.js
// @installURL https://raw.github.com/gist/4018248/google-logo.user.js
// @license Unknown (as-is)
// @contributor arantius https://gist.github.com/4014321
// @author noromanba (https://flavors.me/noromanba)
// @homepage https://gist.github.com/4018248
// @icon https://upload.wikimedia.org/wikipedia/commons/2/27/Jeeny_candle.gif
// @icon64 https://upload.wikimedia.org/wikipedia/commons/2/27/Jeeny_candle.gif
// ==/UserScript==
// Icon (Public Domain by Jeeny)
// https://commons.wikimedia.org/wiki/File:Jeeny_candle.gif
// jeu de animated-gif ;)
(function () {
var origLogo;
if(!(origLogo = document.querySelector('#hplogo'))) return;
var userLogo = document.createElement('img');
userLogo.id = "User-Logo";
userLogo.border = 'no';
userLogo.src = '//www.google.com/logos/2012/Googles_14th_Birthday-2012-2-hp.gif';
origLogo.parentNode.replaceChild(userLogo, origLogo);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment