Pamaké:DerHexer/monobook.js
Catet: Sanggeus nyimpen, anjeun kudu narabas singgahan panyungsi anjeun pikeun nempo parobahanana.
- Firefox/Safari: Tahan Shift bari ngaklik Reload, atawa pencét boh Ctrl-F5 atawa Ctrl-R (⌘-R dina Mac)
- Google Chrome: Pencét Ctrl-Shift-R (⌘-Shift-R dina Mac)
- Internet Explorer: Tahan Ctrl bari ngaklik Refresh, atawa pencét Ctrl-F5
- Opera: Indit ka Menu → Settings (Opera → Preferences di Mac) tuluy ka Privacy & security → Clear browsing data → Cached images and files.
// 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);
}