Script to open a new tab on clicking a link

in Ideas and script requests
Subscribe to Script to open a new tab on clicking a link 4 posts, 4 voices



markyork User
FirefoxWindows

When I am doing some concerted Googling, I like to keep my search results page and right-click a result's link to open it in a new tab.

I was wondering (if Greasemonkey can even do this - I'm new to it) if there is a script that will - ONLY on a Google search results page - open search result links in a new tab.

Thoughts, anyone?

 
mike cupcake Scriptwright
FirefoxMacintosh

I seem to remember google has a setting for that in the search options..?

 
LouCypher Scriptwright
FirefoxWindows

https://www.google.com/preferences#resnum

 
. Scriptwright
ChromeX11

try this ones


// ==UserScript==
// @name           Google New Tab
// @author         tommy 
// @namespace      http://xcloy.blogspot.com
// @description    force newtab
// @version        1.0
// @include        *google.co*
// ==/UserScript==

addEventListener("DOMNodeInserted",
function() {
var link = document.getElementsByClassName('l')
for ( var i in link) {
rlink = link.item(i)
rlink.setAttribute('target', '_blank')
rlink.removeAttribute('onmousedown')
}
},
false)