User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030718 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030718 In the page at http://www.google.com, control-clicking on the links above the text box do not open new tabs while those on the right side do open new tabs. Investigating more, the stuff at the top is embedded in the following HTML: <td id=1 bgcolor=#efefef align=center width=95 nowrap onClick="return c('www.google.com/imghp','wi',event);" style=cursor:pointer;cursor:hand;><a id=1a class=q href="/imghp?hl=en&tab=wi&ie=UTF-8&oe=UTF-8" onClick="return c('www.google.com/imghp','wi',event);"><font size=-1>Images</font></a></td> I see the href in there which seems to be the "normal" link. I do not know, however, how the onClick stuff gets used... Reproducible: Always Steps to Reproduce: 1. Set up browser to open a new tab when doing control-click 2. go to www.google.com 3. control click on "Images" Actual Results: The current browser window/tab gets replaced with the linked web page (google image search in case of example) Expected Results: Open a new tab with (google image search)
Well, the fact the right clicking and choosing open link in new tab worked on google made me think that there was an "easy" fix ;) I think this really boils down to two things: 1. Cntrl-Click and Right Click->Open Link in New Tab have differing functionalities. The two should probably use the same code? One runs the java script, the other follows the href. In your example, a right click and open in new tab causes a 404 error since the href provided is invalid. In the google example, the href is valid and had the expected behavior. Should this technically be a different bug, and make bug 217262 rely on that bug? 2. Would the following pseudo code work in all cases? a. Create a new tab in the browser b. Associate the current page and data with the new tab c. Execute whatever action is required by the link (in terms of #1, run the java script) (It should work fine on the example, and on the google case, and on normal links)
*** Bug 229277 has been marked as a duplicate of this bug. ***
dupe of Bug 151142 ?
Google has redesigned as of 2004-03-29. This bug doesn't happen on any of their pages anymore -- CTRL-clicking on the sections opens in new tabs as expected. Should remove top100.
removing top100 and google url. adding test case to the url.
Dupe of bug 138198, no?
This is definitely related to both bug 151142 and bug 55696 too. The discussions surrounding this bug have had been had in other bugs. I am marking this as dupe against bug 151142, but it could equally be duped against a few other bugs I think. *** This bug has been marked as a duplicate of 151142 ***