Closed Bug 1326575 Opened 8 years ago Closed 8 years ago

Popup blocker being bypassed on www.flixreel.club

Categories

(Firefox :: General, defect)

50 Branch
x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: windward400-1, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36 Build ID: 20161208153507 Steps to reproduce: I suspect that this website is using clever JavaScript to bypass Firefox built-in pop-up blocker protection. If I override the user-agent string in Firefox to spoof Chrome browser, popup blocker works as expected. Steps to reproduce pop-up: 1) Navigate to http://flixreel.club/episodes/westworld-1x7-trompe-loeil/ (Or any episode on the website) 2) Click the play button on the video / episode 3) A pop up should pop up. Actual results: 1) An annoying popup pops up on first click 2) Watch video for a few minutes, and click ANYWHERE on screen and another popup will pop up 3) Rinse, repeat Expected results: Steps to fix the issue: 1) Go to About:Config page 2) Create a new string for "general.useragent.override" 3) Set the value of the above key to spoof a Google Chrome User Agent: e.g. "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36" 4) Now revisit http://flixreel.club/episodes/westworld-1x7-trompe-loeil/ (Or any episode on the website) 5) Click the play button on the video / episode 6) VOILA! Popup blocker works as expected.
Component: Untriaged → General
OS: Unspecified → Windows 10
Product: Firefox → Web Compatibility
Hardware: Unspecified → x86_64
Version: 50 Branch → unspecified
Component: General → Desktop
Product: Web Compatibility → Tech Evangelism
OS: Windows 10 → Mac OS X
Version: unspecified → Firefox 50
This should probably live in Firefox::General before Tech Evangelism so someone who knows more about popup blocker issues can take a look.
Component: Desktop → General
Product: Tech Evangelism → Firefox
Version: Firefox 50 → 50 Branch
Not sure why the site does browser sniffing but opening popups from an event handler (such as onclick) is allowed in Firefox and not a bug. You can turn it off by removing the relevant events from "dom.popup_allowed_events" in about:config.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.