Page MenuHomePhabricator

Middle click in alpha loads page in the same tab
Closed, InvalidPublic

Description

Author: jgonera

Description:
Somehow we're overriding default browser behavior and open links clicked with middle mouse button dynamically in the same tab just as if they were clicked with left mouse button.


Version: unspecified
Severity: normal

Details

Reference
bz62517

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:59 AM
bzimport set Reference to bz62517.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1761

In theory you should be able to do this with
if ( ev.button === 0 ) {
ev.preventDefault();
// hijack link
}

This doesn't seem to work with a Mac trackpad though :-/

I think this is a problem related with lazyload (stable and beta works fine). I don't know the roadmap, but Kaldari posted in this comment:
https://gerrit.wikimedia.org/r/#/c/142317/

That lazyload does not move to beta or stable? What we do with this bug?