Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disabling the popup blocker using java script

 
Rakesh Kumar.A
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch!

Users would need to specifically allow your site to open popups.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64973
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OF what use would a pop-up blocker be if any old web site could just disable it?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic