Oug Fixes

By Mr Nobody OUG Last update Aug 4, 2007 — Installed 240 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
// ==UserScript==
// @name Oug Fixes
// @author Mr Nobody (credits to igor and Moises Lima)
// @version 0.1
// @description Some Fixes in orkut 
// @include http://www.orkut.com/*
// @exclude http://www.orkut.com/GLogin.aspx?*
// ==/UserScript==

for( var i = 0, link; link =document.links[i]; i++ )
{if(link.offsetWidth==0 && link.href != "javascript:void(0);" && link.innerHTML.length <6 &&  !link.search.match(/\?q=/gi))
{link.appendChild(document.createTextNode("OUG Fixes"));
link.style.color=(link.href.match(/=$/))?"red":"green";}}


{
			if(document.getElementById("liframe")!=null){
				var liframe = document.getElementById("liframe");
				liframe.parentNode.removeChild(liframe);
			}
		}

/* credits to Igor Thiago Faria ,download this @ http://www.geocities.com/ithiago_sjc/icon_LoL.user.js */

function fuck_google(){if(document.images[2].src.match(/b/gi)) { 
                   fuck = document.images[3]                   }  
            else { fuck = document.images[2]                   }
}        fuck_google()

if(fuck.src.match(/(mittel|medium)/gi)){
 cabeca   = document.getElementsByTagName('head').item(0)      ;

  icone = document.createElement('link')                       ;  
  icone . href= fuck . src                                     ;
  icone . rel="SHORTCUT ICON"                                  ;    
  icone . type="image/x-icon"                                  ; 
     
           cabeca.appendChild(icone)                           ;
}