Google ancien favicon

Restorer l'ancien (l'originel) logo de Google car celui de septembre 2015 est vachement moche. Motty Katan(c) 05-09-2015 dernière mise à jour 15-09-2015

// ==UserScript==
// @name           Google old favicon
// @name:fr        Google ancien favicon
// @description    Restores oldest google favicon. Motty Katan(c) 05-09-2015 last updated 15-09-2015
// @description:fr    Restorer l'ancien (l'originel) logo de Google car celui de septembre 2015 est vachement moche. Motty Katan(c) 05-09-2015 dernière mise à jour 15-09-2015
// @version 1.0.2
// @include       /^https?://.*\.google\..*/(\?|search|maps|#q\=).*$/
// @include       /^https?://.*\.google\..*/(webhp|imgres)\?.*$/
// @include       /^https?://.*\.google\..*?/$/
// @namespace https://greasyfork.org/users/14985
// ==/UserScript==
//20150915 adding imgres url, support for no shorticon special case
(function(){
	var oChildren = document.head.children;
	var i = -1;
	while (++i < oChildren.length && oChildren[i].tagName != 'LINK' && oChildren[i].getAttribute('rel') != "shortcut icon"){}	
	if (typeof(oChildren[i])=="undefined"){
		//google's HTML was and still is problematic to say the very least
		//dealing with /imgres
		var oLink = document.createElement("LINK");
		oLink.setAttribute("rel", "shortcut icon");
		document.head.appendChild(oLink);
	}
	oChildren[i].href = 'data:image/x-icon;base64,AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAwMDAAICAgAAAAP8AAP8AAAD//wD/AAAA/wD/AP//AAD///8A//3/AP39/wD6/f8A+P3/AP/8/wD9/P8A+vz/AP/7/wD/+v8A/vr/APz6/wD4+v8A+/n/APP5/wD/+P8A+vj/AO/4/wDm+P8A2fj/AP/3/wD/9v8A9vb/AP/1/wD69f8A9PT/AO30/wD/8/8A//L/APnx/wD28P8A///+APj//gD2//4A9P/+AOP//gD//f4A6f/9AP///AD2//wA8//8APf9/AD///sA/v/7AOD/+wD/+vsA9/X7APr/+gDv/voA///5AP/9+QD/+/kA+e35AP//+ADm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