Mpikambana:DerHexer/monobook.js
Famantarana: Rehefa avy mitahiry dia tianao hohavaozina ny kasin'ny mpitety tranonkalanao.
- Firefox / Safari: Tsindrio Shift Rehefa manindry ny bokotra Refresh, na tsindrioCtrl-F5 na Ctrl-R (⌘-R rehefa amin'i Mac)
- Google Chrome: Tsindrio Ctrl-Shift-R (⌘-Shift-R rehefa amin'i Mac)
- Internet Explorer / Edge: Tsindrio Ctrl rehefa eo am-panindriana an'i Refresh, na tsindrio Ctrl-F5
- Opera: Tsindrio Ctrl-F5.
// 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);
}