How to disable pop up blocker using java script or PHP
Arup Garai
How to Disable pop up blocker using java script or PHP?
Moderator: General Moderators
-
arupgarai2004
- Forum Newbie
- Posts: 2
- Joined: Thu Nov 22, 2007 1:30 am
-
deadoralive
- Forum Commoner
- Posts: 28
- Joined: Tue Nov 06, 2007 1:24 pm
I agree with you.deadoralive wrote:that's a good thing
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.
-
arupgarai2004
- Forum Newbie
- Posts: 2
- Joined: Thu Nov 22, 2007 1:30 am
- shiznatix
- DevNet Master
- Posts: 2745
- Joined: Tue Dec 28, 2004 5:57 pm
- Location: Tallinn, Estonia
- Contact:
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.
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.