Closed
Bug 141405
Opened 24 years ago
Closed 24 years ago
Control-click on some links causes both current tab and new tab to load linked page
Categories
(SeaMonkey :: Tabbed Browser, defect)
Tracking
(Not tracked)
People
(Reporter: justincwatt, Assigned: jag+mozilla)
References
()
Details
Steps to reproduce:
1) Go to http://www.google.com/
2) Control-click on the "Images", "Groups", or "Directory" links
Behavior: current tab and new tab both load the linked page that was control-clicked
Expected behavior: The current tab should remain on current page and only the
new page should loaded the linked page that was control-clicked.
Reason for behavior: ?
I also see this behavior. Using Win95 / 2002042510
These links on Google's home page include attributes like this:
href="/imghp?hl=en" onClick="return c('/imghp?hl=en');"
I presume that this bug is caused by the onClick?
| Reporter | ||
Comment 2•24 years ago
|
||
I tried to isolate the behavior to those attributes in the <A> tag, but the
erroneous behavior does not happen when I save Google's index page locally and
control-click on the link. It only happens to the remote version of the page.
Comment 3•24 years ago
|
||
it's because those google links have onClick code, so that any entries in the
form can be carried over into whichever type of search you've selected.
the onClick code opens the selected link in the current tab (retaining any entry
in the input box), while mozilla opens the link in a new tab from the control+click.
not sure if mozilla could do anything about this (catching the scripted form
submit into the new tab instead??)
Comment 4•24 years ago
|
||
I still think we should be using capture for contentAreaClick, not bubbling...
then this problem would not arise.
Comment 5•24 years ago
|
||
*** This bug has been marked as a duplicate of 89296 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Comment 6•23 years ago
|
||
marking verified as a duplicate.
if you decide to reopen this bug, please clarify why.
search string for bugspam removal: SalviaGuaranitica
Status: RESOLVED → VERIFIED
Updated•17 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•