 |
|
 |
 |
Ever had a problem where you are creating a site with frames on a free server and cannot get the banner out of a menu frame. Maybe, you just hate free server banners and want to destroy them? Either way, here are some HTML tricks you can use to go around the system and create pages without having to put the free server banner. *use at your own risk =) (meaning that if the server pulls out your site, it is not my fault). If these scripts dont work or you cant find the server you want: let me know.
geocities.com
In the upper-right corner of the "Geo Square" is an "X" which is used to close the window. This calls the Javascript function "yfOC" in a file hidden on their server. To disable the new "Geo Square" you just have to call the function that shuts the thing down when you load your page. This is done like so:
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 banners in the frames which aren't viewable. There is really no reason to do this. Hypermart is one of the best free servers. Use at your own risk:). This code inserts Hypermart banners into your page, otherwise they become pop-ups:
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 annoying popup. We have three ways of doing this, the first one before the hash line makes your real url visible to 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> |
tripod.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> tag to stop them from being fooled by a well-placed <noscript> tag. So, where you'd normally put the <noscript> to stop 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 the popup 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 --!> |
|
|
|