- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Difference between revisions of "User:Crazy teitoku/common.js"
Jump to navigation
Jump to search
(Testing NewPP limit report.) |
|||
Line 6: | Line 6: | ||
}).replaceWith(function() { | }).replaceWith(function() { | ||
return "<pre>" + this.data + "</pre>"; | return "<pre>" + this.data + "</pre>"; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}); | }); |
Latest revision as of 13:40, 16 June 2018
$('#mw-content-text').contents().filter(function() {
if (this.nodeType == 8) {
return (this.data.indexOf("Saved") > 0 ||
this.data.indexOf("NewPP") > 0);
} else return false;
}).replaceWith(function() {
return "<pre>" + this.data + "</pre>";
});