Forum Moderators: open

Message Too Old, No Replies

close automaticly a window pop up

how to close a window pop-up wich is loaded by the host

         

morneta

1:20 am on Jun 20, 2002 (gmt 0)



Hello, i'm new here and new in scripts to.But i have a little question to put here in the forum.

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

brotherhood of LAN

1:32 am on Jun 20, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi morneta, welcome.

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.

DrDoc

1:36 am on Jun 20, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, there are ways to close those pop-ups ..

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>

Purple Martin

2:52 am on Jun 20, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, there are ways to close those pop-ups ..

True, but if your host catches you they might get upset and refuse to host your site any more. Remember, they rely on the pop-ups for income.

PsychoTekk

6:11 am on Jun 20, 2002 (gmt 0)

10+ Year Member



hi morneta,
it depends on where your stuff is hosted.
look at [gulli.com...]
(yup the site is german but still, you'll see
which scripts belong to which provider)

as already said, if you get caught your account will probably
be deleted...

morneta

9:40 am on Jun 20, 2002 (gmt 0)



Tks for your help.

rewboss

10:04 am on Jun 20, 2002 (gmt 0)

10+ Year Member



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 aus

Rough 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.