Closed Bug 381414 Opened 17 years ago Closed 17 years ago

Onclick event useless for href due to middle mouse button not triggering it

Categories

(Firefox :: Tabbed Browser, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 156137

People

(Reporter: cv2pf6ip50, Unassigned)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Build Identifier: 

Originally bug 63950 seems unable to reopen.

Just FYI, thanks to Firefox, the onClick event on <href> tags is now USELESS.

Many Firefox users navigate exclusively by clicking the middle mouse better (NEVER the left button). Onclick events are never executed when the user clicks middle mouse button. 

This breaks DHTML pages and hinders navigation because the user asks himself "why the hell this doesn't do anything but open a blank page."

Well done, hackers.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
And before you say, it, right mouse button should never trigger onclick. But middle mouse button is actually a "wrapped" left mouse button functionally, so it MUST fire onclick.

Left mouse button: onclick="if (critical_error) return false;"
result: navigation cancelled

Middle mouse button: onclick="if (critical_error) return false;"
result: navigation not cancelled even though a critical error occurred.

The middle mouse functionality actually EMULATES left mouse button plus doing additional convenience stuff.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.