- Back to Home »
- Popup Blocker Detection
Popup Blocker Detection
Many a times our webpage would be needing to open some information in child popup windows. And hence due to the large amount of pop up window nuisances, we have a lot of popup blockers (free and shareware) in the market. Hence it has become mandatory for us to have a code that detects and advises the user regarding the significance of our website to allow having the ability to open popup windows.
var objTestPopupWindow = window.open('about:blank', '', 'width=0,height=0");
alert ("Whoosh! There is an active popup blocker in this web browser. Please consult your browser or popup helper documentation on how to allow this site to use popups");