User:维基佛祖/common.js

var tags = document.getElementsByTagName("a"); for(var i=0; i<tags.length; i++){ var a = tags[i]; if(tags[i].title == "编辑本页[alt-shift-e]"){ console.log("Skip this A tag"); continue; }else{ if(tags[i].class == "uls-trigger"){ console.log("Skip this A tag"); continue; }else{ if(tags[i].href == "#column-one"){ console.log("Skip this A tag"); continue; }else{ if(tags[i].title == "编辑本页"){ console.log("Skip this A tag"); continue; }else{ a.target="_blank"; }			}		}	}	console.log("tag",i,"( link to",tags[i].href,") ended of processing"); continue; } console.log("Finish");