User:Psl85/common.js

// Gadget: Editor wikEd (w:en:User:Cacycle/wikEd) mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript' ); mw.loader.load( '//minecraft.gamepedia.com.index.php?title=User:Psl85/twinkle.js&action=raw&ctype=text/javascript' ); $(function {   var alinks = document.getElementById('content').getElementsByTagName('a');    var tablink, sitename;    for (var i = 0, leng = alinks.length; i < leng; i++) {        tablink = alinks[i];        if (tablink.className.indexOf("external") != -1 && tablink.href.indexOf(mw.config.get('wgServer')) != 0)            tablink.target = "_blank";    } });