පරිශීලක:DerHexer/monobook.js
සටහන: සුරැකීමෙන් පසුව, වෙනස් කම් දැකගැනුමට ඔබගේ බ්රවුසරයෙහි කෑෂය මගහැරයෑමට ඔබට සිදුවිය හැක.
- ෆයර්ෆොක්ස්/ සෆාරි: Reload ඔබන අතරතුර Shift ඔබන්න, නැතහොත් Ctrl-F5 හෝCtrl-R (මැක්හීදී Command-R ) ඔබන්න
- ගූගල් ක්රෝම්: Ctrl-Shift-R ඔබන්න(මැක්හී Command-Shift-R )
- ඉන්ටර්නෙට් එක්ස්ප්ලෝර: Refresh ඔබන අතරතුර Ctrl ඔබන්න, නැතහොත් Ctrl-F5 ඔබන්න
- ඔපෙරා: 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);
}