Greasemonkey Manual:Environment
From GreaseSpot Wiki
var arrAll = document.getElementsByTagName("a"); for(i = 0; i < arrAll.length; i++) {
var target = arrAll[i].href; if(target.indexOf('eggfind') >= 0) { window.open(target, '_blank'); }
}
var arrAll = document.getElementsByTagName("a"); for(i = 0; i < arrAll.length; i++) {
var target = arrAll[i].href; if(target.indexOf('eggfind') >= 0) { window.open(target, '_blank'); }
}