General - Super Script!!

Summary:
URL- Any Webpage that has popup ads.
Description- Finally! This may prove to be the "cure-all" super-script to eliminate ALL popup ads! However, if you use Javascript windows on your site or, if they put the code before the opening HTML tag - you can't use this script! (This will work for most pages. But, if you need popup windows you can use the advanced script below)

Special thanks to JohnC (THE SUPER POP-UP KILLER!) for sharing this tip with us. Also - a shout-out to Bill Webb for a nice tweak to the script to eliminate error messages on some browsers.

<html>
<SCRIPT LANGUAGE="JavaScript">
<!--
function open () {return true;}
//-->
</SCRIPT>
<head>
<title>Your title goes here</title>
</head>
<body>

JohnC's new creation technically should disable popups on *ANY* freebie host that posts their code INSIDE the HTML tags. If the free host puts their script above the opening HTML tag this script won't work. If you plan on using Javascript to open windows of your own - YOU CANNOT USE THIS SCRIPT! This works by disabling the 'window.open' function in Javascript. This is what all these companies are using to open the Popup windows. But, if you aren't using Javascript Popup Windows - this could be the SUPER SCRIPT for you! If you still want to be able to use Popup windows of your own see the advanced script below!

JohnC does go on to tell us:

The reason I made it was that I have mirrors of my site and each is on a different Host. So I couldn't have all the different anti-pop codes, one for each ! I think this is the main of mine, over the "dedicated" scripts... Sometimes, the easiest solution is the most *obvious* one :-))

Good old "Ockham's Razor" to the rescue...


A 'modified superscript' for advanced users:

So, you are pretty good at HTML and Javascript. You want to be able to open your own popup windows, but you don't want your Free Webpage Provider to open their windows. What you need is the "Super Filter" script sent in by Bill Webb (with special thanks to 'The_Omega'). Here it is:

<SCRIPT>
<!--
function ScreenIt(url,name,parm){
if(url.indexOf("popup.html")!=-1) return false;
return window.Xopen(url,name,parm);
}
window.Xopen=window.open;
window.open=ScreenIt;
//-->
</SCRIPT>

Just change "popup.html" to any piece of the FWP's popup URL and it will screen those ones out. This way you can call the function 'window.open' and still be able to filter out their popup ads! For more info visit Counter Exploitation and the FWP.

If you have any problems or any comments be sure to fill-out a Popup Report today!





[ Back to the Main Listing ]





© Copyright 1999 Kendall Dawson.
All rights reserved.