Facebook disables opening photos in new tabs

NEW
Unassigned

Status

()

Core
Event Handling
5 months ago
5 months ago

People

(Reporter: Lukas, Unassigned, NeedInfo)

Tracking

53 Branch
Points:
---

Firefox Tracking Flags

(firefox53 affected, firefox54 affected, firefox55 affected)

Details

(Reporter)

Description

5 months ago
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20170504105526

Steps to reproduce:

1. Open any Facebook photo album, e. g. https://www.facebook.com/pg/mozilla/photos/?tab=album&album_id=10152771875182381

2. Click on any image with middle click, Ctrl click or Shift click.


Actual results:

Photo is opened in actual tab.


Expected results:

Photo should open in new tab (middle click, Ctrl click) or in new window (Shift click).

Comment 1

5 months ago
Build ID: 20170518030213
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0

Reproducible on Windows 10 x 64, Mac OS X 10.12 and Ubuntu 16.04 x64.
Status: UNCONFIRMED → NEW
status-firefox53: --- → affected
status-firefox54: --- → affected
status-firefox55: --- → affected
Component: Untriaged → Event Handling
Ever confirmed: true
Product: Firefox → Core
Does this happen in other browsers? I'm just wondering if this is something that Facebook changed on their end.
Flags: needinfo?(ragimiri)
(Reporter)

Comment 3

5 months ago
(In reply to Andrew Overholt [:overholt] from comment #2)
> Does this happen in other browsers? I'm just wondering if this is something
> that Facebook changed on their end.

It's possible, but main problem is, that Firefox allows this. User will (opening link in background tab) should supersede JavaScript events on page. Ideally Firefox should not handle middle click as click event.
Flags: needinfo?(ragimiri)

Comment 4

5 months ago
My Chromium 58 on ubuntu 16.04 and Chrome on Mac OS X 10.12, clicking with ctrl(or command) or shift also open on the same window.
(In reply to Eric Tsai from comment #4)
> My Chromium 58 on ubuntu 16.04 and Chrome on Mac OS X 10.12, clicking with
> ctrl(or command) or shift also open on the same window.

This seems to clarify that this is something Facebook is doing intentionally. I'll find some time to investigate.
Flags: needinfo?(overholt)
You need to log in before you can comment on or make changes to this bug.