User:Manishearth/orphantabs.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 106:
currentLinkWin = window.open("about:blank","","")
currentLinkWin.___location.replace(wgServer+"/w/index.php?title=" + deOrphanDocumentLinkArray[linkACounter].replace(/\/wiki\//,"") + "&action=edit")
currentLinkWin.hookEventwindow.addOnloadHook("load",function () {
if(currentLinkWin.wgCanonicalNamespace== ""){
currentLinkWin.deOrphanWikify(deOrphanDocumentLinkArray[linkACounter])
Line 119:
 
function closeTheWindow(){
currentLinkWin.hookEventwindow.addOnloadHook("load",function(){
currentLinkWin.close()
linkACounter++