Page 1 of 1
How to Disable pop up blocker using java script or PHP?
Posted: Thu Nov 22, 2007 1:48 am
by arupgarai2004
How to disable pop up blocker using java script or PHP
Arup Garai
Posted: Thu Nov 22, 2007 3:06 am
by deadoralive
you can't - and that's a good thing
Posted: Thu Nov 22, 2007 3:28 am
by Rovas
deadoralive wrote:that's a good thing
I agree with you.
You can put a message in the page when the pop- up is blocked that pop- up is important using js to detect that is blocked.
You can make a div that substitutes the pop- up using some simple css properties and a little javascript use
this as an example.
This method has many tutorials use Google.
Posted: Thu Nov 22, 2007 3:39 am
by arupgarai2004
are sure its not possible ?
any way any how .
and my requirement is only pop up . div not accepted
please help me
Posted: Thu Nov 22, 2007 6:05 am
by shiznatix
you can not override a browsers default behaviour using javascript or PHP. This would be a super security problem.
Imagine if you could use javascript to start reading cookies from different domains other than yours. What about getting peoples sessions ids? No, you can't override a browsers settings with your code.
If this is not popping up an advert or something then there is another way to do the same thing without the blocker blocking you so just take a look at those.