Remove Banners And Pop-Ups

Ever had a problem where you are creating a site with frames on a free server and cannot get the bannerout of a menu frame. Maybe, you just hate free server banners and want to destroy them? Either way, hereare some HTML tricks you can use to go around the system and create pages without having to put the freeserver banner. *use at your own risk =) (meaning that if the server pulls out your site, it is not myfault). If these scripts dont work or you cant find the server you want: let me know.

Yahoo GeoCities


geocities.com
In the upper-right corner of the "Geo Square" is an "X" which is used to close the window. This callsthe Javascript function "yfOC" in a file hidden on their server. To disable the new "Geo Square" youjust have to call the function that shuts the thing down when you load your page. This is done like so:

<BODY onLoad="yfOC(-1)">

The second way that it can be done is by using the following script:

<HTML>
<HEAD>
<TITLE>Your Title Goes Here</TITLE>
<BODY>

</HEAD>
</BODY>
<noscript><noscript><plaintext><plaintext>
</HTML>


hypermart.net
Hypermart banners can be removed in this way. I use this code when I want to get rid of bannersin the frames which aren't viewable. There is really no reason to do this. Hypermart is one of the bestfree servers. Use at your own risk:). This code inserts Hypermart banners into your page, otherwise theybecome pop-ups:

<!--#echo banner=""-->

Now to get rid of the banner use a no-script tag around the code, like this:

<noscript><!--#echo banner=""--></noscript>

.tk Domains
Put this between the <HEAD> and </HEAD> tags on your first page to remove the annoyingpopup. We have three ways of doing this, the first one before the hash line makes your real url visibleto visitors, the second lets you control the popup window.

<script>
if (window.top != window.self) { window.top.location=window.self }
</script>

<script>
subwin = window.open("http://YourHost.com/YourAccount/PopupPage",
"subwindow","height=100,width=486");
</script>

<script language="JavaScript">
setup='toolbar=no,location=no,directories=no,status=
no,menubar=no,width=200,height=150'
setup += 'scrollbars=no,resizable=no'
pop = window.open ("","subwindow",setup)
pop.document.write('<head>');
pop.document.write('<Title>');
<!-- This is the title to change for on the new window you open -->
pop.document.write('Iran Hackers');
pop.document.write('</Title>');
pop.document.write('<script language="javascript">');
pop.document.write('setTimeout(');
pop.document.write('"self.close()');
<!-- This is the line to change for how long the window is open -->
<!-- Its milliseconds , so 5000 is 5 seconds, 1000 is 1 second. -->
pop.document.write(';",5000)');
pop.document.write('</');
pop.document.write('script>');
pop.document.write('</head>');
<!-- This changes the colour of the main background. -->
pop.document.write('<body bgcolor=#FFFF80>');
<!-- This is the actual content of the window you are opening -->
pop.document.write('<center><h3>Dont forget to visit</h3></center>');
pop.document.write('<center><h3><a href="http://www.ghostbone.com" target="_blank">ghostbone.com</a></h3></center>');
pop.document.write('<center><h6>For all your BannerKillers :)</h6></center>');
pop.document.write('</body>');
</script>


Tripodtripod.com
Just add the following code in your source to kill that pop-up.

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

netfirms.com
Just like the removal method for tripod.com, netfirms.com's removal method is short and simple.

<noembed>
<xmp>
<body>
</xmp>
</noembed>

Virtual Avenue
The VirtualAve popup is similar in many respects to the GeoCities popup except that it adds a precautionary </noscript> tagto stop them from being fooled by a well-placed <noscript> tag. So, where you'd normally put the <noscript> tostop the Popup, put:
<script language="JawaScript"> after you close the HTML tag instead.
This works because the browser won't recognize it as a valid scripting language and won't execute thepopup scripting that follows the tag. Like so:

<HTML>
<HEAD>
<TITLE>Your Title Goes Here</TITLE>
</HEAD>
<BODY>

<!-- Your homepage goes here -->

</BODY>
</HTML>

<SCRIPT LANGUAGE="JawaScript">
<!-- -->
</noscript>
<script language="JavaScript">


Freeservers
1. Create a link on your site "Break out of the ad frame", and link that to your
index.htm or index.html page with the TARGET="_top" tag as a part of the link tag.
2. Use this javascript to detect a frame, and if it does, it breaks out of it.

<HTML>
<HEAD>
<SCRIPT LANGUAGE="Javascript">
<!---
if (parent.frames.length)
top.location.href= document.location;
// --->
</SCRIPT>
</HEAD>
<BODY>
<!--- Your web site goes here --->

TalkCity
The method cannot get any easier...

<script language="javascript">
var winname1="tcn";
var winname2="av";
var windowname=winname1+winname2;
adWindow = window.open("http://www.yahoo.com", windowname, "toolbar=no, location=no, directories=no, menubar=no, scrollbar=no, resizable=no, status=no, width=1, height=1")
adWindow.close()
</script>
<html>
<head>
<title>Web Site Title Goes Here</title>
</head>
<body>
<!--- Your web site goes here--->

easyspace.com

</HEAD>
<BODY>
<!-- your homepage goes here -->
</BODY>
</HTML>
<NOSCRIPT>

angelfire.com

<HTML>
<HEAD>
<NOSCRIPT>
<!-- <BODY> -->
</NOSCRIPT>
<TITLE>Your Page Title Goes Here</TITLE>
</HEAD>
<BODY>
<!-- Your homepage goes here --!>

Related Articles

  • PHP Debugging
    A few tips for debugging your PHP
  • How To Triple Your Banner Click-Through-Rates
    Have you noticed that your banner ads rarely get clicked on? Banner ads used to be a very effective method of advertising, but the web has become bloated with banner after banner. As a result theyre largely ignored today. But did you know there is a simple and effective way to get people to ....
  • Navigation Using Switch
    A safer, manual way of navigation using PHP
  • Remove Banners And Pop-Ups
    If you want to get rid of a banner on a free server and are willing to risk it, try these simple HTML tricks to remove it.
  • Tips to Create Banners that Make People Rush to Your Website
    This short article gives you good advice for designing and using banners. The article discusses motion, color, placement, and wording among other considerations.
  • Google's Adsense - Do You Need It
    This article explains the values of using Googles AdSense banners on your website. The author explains why you can earn far more money per year with AdSense than other plans. The author also states that Google is easier to use.
  • More Income From Google Adwords
    Google Adwords is a fantastic pay per click tool for bringing highly targeted and specific visitors to your website at a cost you chose to pay. You can pay as little or as much as you want for these visitors and how much you make off of this targeted traffic is entirely up to how well you sell to th...
  • Banner Rotation and PHP Include
    With this script you can add a banner rotation to your site, the base code is:
  • Business Website Building Do's and Don'ts
    When it comes to building your own website for business, there are many things to consider when you build your home page to make it look professional, fast loading and easy to navigate. There are many ways and tools to make your site look good, entertaining and fun to watch...
  • Website Design with Slideshows and Banners!
    Website design is perhaps the most important aspect of a website. A well designed website plays a key role in the growth of your business and boosts your online presence. To add on to the intricacies of your website design, you could make use of online website builder softwares that have good featur...

Contact Web Design Outsource and get started today

Need Website Designing, Development, Redesigning, Maintenance and SEO services or help growing your company's web presence? Request a free Quote Now.