|
i think i made an small script just for that if you want you can add it
it restore's the original profile avtar pic location from b.gif
var sob="",e;
var links = document.getElementsByTagName('div');
for ( var i = 0; i < links.length; i ++ )
{
sob=getStyle(links[i], "background-image");
if(sob.indexOf("images/medium")!=-1)
{
e=links[i+1];if(e){e.parentNode.removeChild(e);};
break;
}
}
function getStyle(oElm, strCssRule)
{
var strValue = "";
if(document.defaultView && document.defaultView.getComputedStyle){
strValue = document.defaultView.getComputedStyle(oElm, "").getPropertyValue(strCssRule);
}
else if(oElm.currentStyle){
strCssRule = strCssRule.replace(/\-(\w)/g, function (strMatch, p1){
return p1.toUpperCase();
});
strValue = oElm.currentStyle[strCssRule];
}
return strValue;
}
|