// GreaseMonkey Script: Add link to Google Home - Facesaerch edition 2
// Author: Franz Enzenhofer - f.enzenhofer@gmail.com
//
// ---*GNU*---
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// http://www.gnu.org/copyleft/gpl.html
//
// ==UserScript==
// @name           Faces for Google
// @namespace      f DOT enzenhofer AT gmail DOT com
// @description   Adds a link to the Google navigation
// @include       http://google.tld/
// @include       http://google.tld/#*
// @include       http://www.google.tld/
// @include       http://www.google.tld/#*
// @include       http://google.tld/webhp
// @include       http://google.tld/webhp#*
// @include       http://google.tld/webhp?*
// @include       http://www.google.tld/webhp
// @include       http://www.google.tld/webhp#*
// @include       http://www.google.tld/webhp?*
// @include       http://google.tld/search
// @include       http://google.tld/search*
// @include       http://www.google.tld/search
// @include       http://www.google.tld/search*
// @include       http://google.tld/webhp#*
// @include       http://www.google.tld/webhp
// @include       http://www.google.tld/webhp#*
// @include       http://www.google.tld/firefox*
// @include       http://google.tld/firefox*
// @date           2006-04-09
// @version        1.0b
// @GM_version     0.6.4
// ==/UserScript==

window.addEventListener("load", function(e) {
	var newA     = document.createElement('A');
	newA.setAttribute('href', 'http://www.facesaerch.com');
	newA.setAttribute('class', 'gb1');
	newA.innerHTML='Faces';
	document.getElementById('gbar').appendChild(newA);
}, false);
