![]() ![]() |
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? |
![]() ![]() |
I seem to remember google has a setting for that in the search options..? |
![]() ![]() |
|
![]() ![]() |
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)
|




