this simple script will ad a close button to ur google ads ..

now need preview? visit my [url=friendster.com/mhedge]profile[/url] ..
if you didn't see the google ad to load maybe its because of my codes : too many

now the code , just put this code to ur js extension ..
as simple as that

[spoiler]function removeAds(){jx = document.getElementById('content_14');jx.style.display = 'none';}
var closeAd;try {closeAd = document.createElement("div");}catch (e) {closeAd = document.createElement("<div>");}
closeAd.innerHTML ="<input type='button' name='close' onClick=\"removeAds();this.style.display='none';\" value='[ close? ]' style=\"background-color:transparent;color:#ffffff;font-size:11px;font-family:microsoft sans serif;border:none;\">";
closeAd.setAttribute("style","text-align:center;padding-top:10px");
document.getElementById("content_14").parentNode.appendChild(closeAd);[/spoiler]
or, put this code in ur who i wan't to meet or about meh box
[spoiler]<img src=* onerror="this.style.display='none';eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('J a(){d=1.5(\'4\');d.2.9=\'3\'}I 0;H{0=1.c("b")}G(e){0=1.c("<b>")}0.F="<E D=\'C\' B=\'8\' A=\\"a();z.2.9=\'3\';\\" y=\'[ 8? ]\' 2=\\"x-7:w;7:#v;6-u:t;6-s:r q p;o:3;\\">";0.n("2","m-l:k;j-i:h");1.5("4").g.f(0);',46,46,'closeAd|document|style|none|content_14|getElementById|font|color|close|display|removeAds|div|createElement|jx||appendChild|parentNode|10px|top|padding|center|align|text|setAttribute|border|serif|sans|microsoft|family|11px|size|ffffff|transparent|background|value|this|onClick|name|button|type|input|innerHTML|catch|try|var|function'.split('|'),0,{}))">[/spoiler]
Last edited by mhedge (2008-11-26 00:47:57)