Forum Moderators: open
How can i close the pop up that is loaded by the host. My internet provider give 25 MG of space to make a webpage but after i made the page i see that any time i click to oyher pages in my site evry time the pop-up of my provider load.so i ask:
If there is a script to put in my page to stop or close this pop-up.
Tks and regards
Unfortunately, I severely doubt there is a way to do this! Your host will probably use a server side include that you have no control over, thus it will load up regardless! I have no quams if someone proves me wrong though!
You might want to look at paid hosting. You can get some good hosting for as little as $5 a month nowadays with ample space and utilities to play with as opposed to banner ridden free web space.
Do you know what the name is of the window that's created? If so, you can always do this:
Add onblur="wintest()" to the body tag.
Then, use this JavaScript:
<script language="javascript" type="text/javascript">
function wintest() {
if(name_of_window) {
name_of_window.close();
}
}
</script>
as already said, if you get caught your account will probably
be deleted...
From website linked to by Psychotekk:
Es gibt FWP's, die eure Accounts löschen, sobald sie entdecken, dass ihr die Werbebanner nicht zeigt. Seid euch deshalb dieses Risikos bewusst und heult euch nicht bei mir ausRough translation:
There are some free web providers who will delete your account as soon as they discover that you are not displaying their banner ads. So be aware of this risk and don't come crying to me.
Basically, this is illegal because it constitutes breach of contract: you will have agreed to the host's terms of service, and they will include a clause that says you must not attempt to cheat in this way.
Many hosts have "search-and-destroy" bots that seek out pop-up busting code and delete the accounts with no warning. Often you will be banned from ever having an account at that host ever again.