
// Googleyes 
// version 0.1 
// 2008-11-23
// Copyright (c) 2008, Billy Rennekamp
// Released under the GPL license
// http://www.gnu.org/copyleft/gpl.html
//
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script.  To install it, you need
// Greasemonkey 0.3 or later: http://greasemonkey.mozdev.org/
// Then restart Firefox and revisit this script.
// Under Tools, there will be a new menu item to "Install User Script".
// Accept the default configuration and install.
//
// To uninstall, go to Tools/Manage User Scripts,
// select "Googleyes", and click Uninstall.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name          Googleyes
// @namespace     http://loshadka.org/billy/googleyes/info.html
// @description   googleyes on yr webs
// @include       *
// @exclude       
// ==/UserScript==

var css = 'position:fixed; z-index:9999; border: 0px solid black; ' +
          'top:0; left:20%; width:60%; margin:0; height:110px;';

var iframe = document.createElement('iframe');
iframe.setAttribute('style', css);

iframe.src = 'about:blank';

document.body.appendChild(iframe);

iframe.addEventListener("load", function() {
    var doc = iframe.contentDocument;
    doc.body.style.background = '';
    doc.body.innerHTML = '<img style="z-index:-1; position:fixed; left:0px; top:5%;" src="http://loshadka.org/billy/image/eye.gif"><img style="z-index:-1; position:fixed; right:0px; top:5%;" src="http://loshadka.org/billy/image/eye.gif">';

}, false);



