Ulanyjy:DerHexer/monobook.js
Appearance
Bellik: Ýazdyranyňyzdan soň, üýtgeşmeleri görmek üçin brauzeriňiziň keşini arassalaň: Mozilla / Firefox / Safari: Shift-e basyp, Reload-a tyklaň ýa-da ýa Ctrl-F5-e ýa-da Ctrl-R-a basyň (Mac üçin Command-R); Konqueror: Reload-a tyklaň ýa-da F5-e basyň; Opera: Gurallar → Ileri tutmalardan keşi arassalaň; Internet Explorer: Ctrl-a basyp, Refresh-i tyklaň ýa-da Ctrl-F5-e basyň.
// 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);
}