Tech Support > Computers & Technology > Programming > Automatic java popup closer
Automatic java popup closer
Posted by Falnar on December 2nd, 2003


Hi, I was wondering if anyone knew a way to close popup windows
automatically when they open. See, I'm a major cheapo and rather than
pay for webspace I'd like to use a free site and stick in a script to
either block or automatically close a window popping up under the
variable "popup". The only thing I've been able to figure out is to
stick a popup.close() at the beginning of the <body> because evidently
they stick the code at the start of the body, so that would be right
after... unfortunately, it still flashes up on faster computers and
stays up for a second or two on slower ones. Any ideas on blocking a
window like that from opening? Thanks.

John

Posted by Jack Klein on December 2nd, 2003


On 1 Dec 2003 18:14:52 -0800, rpgjohn@hotmail.com (Falnar) wrote in
comp.programming:

You don't need javascript to avoid pop-up windows. Get a decent
browser that let's you set the rules. Netscape (free) or Opera (free
with add banners or paid registration) both allow you to set
preferences for pop-ups. Among them is show requested pop-ups only,
or don't allow them to pop-up at all.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq

Posted by Will Twentyman on December 2nd, 2003


Falnar wrote:

This is likely to violate your terms of service agreement.

--
Will Twentyman
email: wtwentyman at copper dot net



Similar Posts