BrowserHawk IQ now available! Click here for the full scoop!
Search:
Popup detection opens a blank new tab on android devices
Created: 7/30/2018    Updated: 7/30/2018
Q   When using popup detection on Android devices, the tab is not closed after the test and presents a blank screen to the user, with the browser hawk test results hidden on the tab behind. How can we resolve this?

A   This is due to how Android devices handle popups. The workaround is to omit popup detection for Android devices, like so: pseudo-code: if bh.OSName = "Android" then extended properties to check = "a, b, c, d" else extended properties to check = "a, b, c, d, BlockedPopups" end if Then in your logic where you do something based on popups being blocked, you would add a condition that if it is Android you would need to make an assumption about whether they are blocked or not based on what you think is the most popular setting for your particular user base. So although you cannot then detect blocked popups, you can at least prevent the window/tab issue, while still having the blocked popup detection for other scenarios (outside of Android).

    FAQ Home  |  Search FAQ  |  Show New Items  |  Ask a FAQ  |  Notify Me  |  Most Popular     
 
 
Copyright © 1994-2020 cyScape, Inc. All Rights Reserved. ()
ASP, ASP.NET, ColdFusion MX, CFMX, JSP, PHP