faqts : Computers : Programming : Languages : JavaScript : Windows

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

11 of 28 people (39%) answered Yes
Recently 3 of 10 people (30%) answered Yes


When serfing, I want only ONE OPEN WINDOW and prevent opening new windows with Javascript. How to do

Sep 17th, 2004 13:27
Daniel LaLiberte, Jean-Bernard Valentaten, Alex Jankovics,

This isn't exactly a javascript question, but here's the answer:
There are two ways:
1. Disable Javascript
2. Download and install a popup-blocker plugin
It could be a JavaScript question if the idea is how to (with JS) 
prevent the user from opening new windows.  In general, there are no 
ways to prevent this, however.