User:Manishearth/orphantabs.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 69:
for (i=0;i<allLists.length;i++){
if (allLists[i].className == "mw-search-results"){
//alert(allLists[i].innerHTML)
allLinksArray = returnArray(allLists[i].innerHTML)
}
}
deOrphanDocumentLinkArray = allLinksArray
//alert("final a:\n" + deOrphanDocumentLinkArray)
openALinkWin()
 
Line 95:
return allImpLinks;
}
function openLinkWins(linkArray){
var linkWin = window.open("about:blank","","")
linkWin.___location.replace(wgServer+"/w/index.php?title=" + linkArray[0].replace(/\/wiki\//,"") + "&action=edit")
 
 
}
function openALinkWin(){
currentLinkWin = window.open("about:blank","","")