Closed
Bug 272521
Opened 20 years ago
Closed 20 years ago
ctrl+click opens duplicate tabs/windows for links with onclick="window.open..."
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 266583
People
(Reporter: woehlkmp, Assigned: bugs)
Details
Attachments
(1 file)
|
313 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041115 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041115 Firefox/1.0 Ctrl-click on certian hyperlinks using onclick="window.open(...);return false;" causes duplicate tabs to be opened, or a tab and a new window to be opened. There's about a bazillion similar-looking bugs in the database dating back to 2000. Does it really take four years and three major versions to fix this? Reproducible: Sometimes Steps to Reproduce: 1. Open test case file (attached below) 2. Ctrl-click the image Actual Results: One new tab is correctly opened. With tabbed browsing options set to open 'new window' links in new tabs, a second new tab is also created and becomes active. Otherwise a new window is created in addition to the tab in the current window. Expected Results: Single new tab opened and not activated; current tab remains active.
Comment 1•20 years ago
|
||
Are you using TBE or a similar extension? If so, try it without that extension installed.
| Reporter | ||
Comment 2•20 years ago
|
||
| Reporter | ||
Updated•20 years ago
|
Severity: major → normal
Comment 3•20 years ago
|
||
Ah, nevermind the previous comment. I can't see how this can possibly be resolved, since Ctrl+Clicking the link makes a new tab, but the javascript onClick handler is also called, which creates a popup (opened in a new tab). *** This bug has been marked as a duplicate of 266583 ***
Severity: normal → major
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•