User:Msh210/blocklinks.js

Hello, you have come here looking for the meaning of the word User:Msh210/blocklinks.js. In DICTIOUS you will not only get to know all the dictionary meanings for the word User:Msh210/blocklinks.js, but we will also tell you about its etymology, its characteristics and you will know how to say User:Msh210/blocklinks.js in singular and plural. Everything you need to know about the word User:Msh210/blocklinks.js you have here. The definition of the word User:Msh210/blocklinks.js will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofUser:Msh210/blocklinks.js, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
//Seems good for FF; not tested elsewhere.
//Many thanks to Splarka for help with this script.
function loglink() {//link from special:block to log page
 var t=document.getElementById('mw-bi-target');
 if (!t) return;
 var u=t.getAttribute('value');
 if (!u || u=='') return;
 a=document.createElement('a');
 l="https://dictious.com/en/Special:Log?user="+u;
 a.setAttribute('href',l);
 x='Logs for '+u;
 a.appendChild(document.createTextNode(x));
 p=getElementsByClassName(document,'p','mw-ipb-conveniencelinks');
 if (p.length!=1) {//just in case they change the name or something
  t.parentNode.insertBefore(a,t)
 } else {
  s=document.createTextNode(' | ');
  o=p.childNodes;
  p.insertBefore(s,o);
  o=p.childNodes;//s
  p.insertBefore(a,o);
 }//end else
}
if (wgNamespaceNumber == -1 && wgCanonicalSpecialPageName == 'Block') addOnloadHook(loglink);