Хэрэглэгч:DerHexer/monobook.js

Wiktionary-с

Санамж - Хадгалсныхаа дараа шинэ тохиргоогоо харахын тулд вэб хөтөчийнхөө хийсвэр санах ойг орхих хэрэгтэй болж магадгүй.

  • Google Chrome хөтчид : Ctrl-Shift-R товч дээр зэрэг дарна ( Макитош компьютерүүдэд ⌘-Shift-R дээр дарна)
  • Internet Explorer хөтчид : Ctrl дээр дараастай байж байгаад Refresh дээр дарна, эсвэл Ctrl-F5 дээр дарна
  • Konqueror веб хөтчид : Reload товч дээр эсвэл F5 дээр дарна
  • Opera веб хөтчид : Tools → Preferences руу орж дундын нөөцлөгчийг хоослоорой

\

 // get URL parameters (used for page type variables)
 var UrlParameters = new Array ();
 readparams();
 
 function readparams() {
  var asReadInUrlParameters;
  var asReadInUrlParameter;
 
  // Get URL parameters
  asReadInUrlParameters = location.search.substring(1, location.search.length).split("&");
  for (i = 0; i < asReadInUrlParameters.length; i++) {
    asReadInUrlParameter = asReadInUrlParameters[i].split("=");
    UrlParameters[decodeURIComponent(asReadInUrlParameter[0])] = decodeURIComponent(asReadInUrlParameter[1]);
  }
 }
 
 function fillActionPage() {
   document.forms["blockip"].wpBlockReason.value = UrlParameters["blockreason"];
   document.forms["blockip"].wpBlockOther.value = UrlParameters["blockduration"];
   window.setTimeout(function() { document.forms["blockip"].wpBlock.click(); }, 100);
 }
 
 
 if ( UrlParameters["blockreason"] > '') {
   addOnloadHook(fillActionPage);
 }