This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Disabling the popup blocker using java script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Disabling the popup blocker using java script" Watch "Disabling the popup blocker using java script" New topic
Author

Disabling the popup blocker using java script

Rakesh Kumar.A
Greenhorn

Joined: Sep 20, 2010
Posts: 1
Hi i'm working on ASP.NET. in my application i'm using window.open to popup a window. But popup blocker blocks the pop up window in there any way to disable the popup blocker using java script?.....
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
The popup blocker runs as part of the browser; there's nothing the web app can do about it (except not using popups, of course).
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Welcome to the JavaRanch.

Why would you want to do this? Users can usually set exceptions for sites in their pop-up blockers so if they want to get pop-ups they can. And if they don't want it you'll only annoy them. What has javascript to do with JSP?


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Welcome to JavaRanch!

Users would need to specifically allow your site to open popups.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60740
    
  65

OF what use would a pop-up blocker be if any old web site could just disable it?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Disabling the popup blocker using java script
 
Similar Threads
How to by pass pop up blockers while using window,open()
bypass google popup blocker
pop in IE vs Firefox
popup blocker and the window.open
can we disable pop up blocker software using JavaScript ?