(Very,very) Simple Javascript Reversing - Banner killing by Latigo 06:00 p.m. 26/06/00 Hi there! this little tutorial is almost a joke. But its because the reversing target is a joke. Tonite's star is spaceports.com's dumb banner. This guys are a bitch. Cos they add the banner in ALL the pages; and that is not fair play :). Tools: a browser and half a brain. I'll make it short since making a big deal out of this would be ridiculous. This is what spaceports adds to each and every of the hosted pages: So this script is executed as soon as the page is loaded. Let's check what we get at that nice url. Go to your favorite browser and paste that ugly URL. Woops! what do we get here? a .js file! :). Save it to disk and lets open it to see what we get. ---- stupid.js -------------- var popupwin=window.open("","SpaceportsAd","width=500, height=100, status=0, location=0"); if (navigator.appName=="Netscape") { popupwin.resizeTo(500,100); } if (popupwin != null) { popupwin.document.write("Please visit our sponsors."); popupwin.document.write(""); popupwin.document.write("
"); popupwin.document.write("
"); popupwin.document.write(""); } ---------------------------------- OMG! the variable popupwin refers to a new window with the banner inside it!. What to do to kill it? Simple. Add this following script to the top of each page : Don't need to explain it :). Btw, this won't prevent the window from appearing..but it will close it instantly. Bye! latigo_@_ciudad_._com_._ar www.latigo.cjb.net