User:EhJJ/vector.js
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
importScript('User:Message From Xenu/twinkletag.js');
importScript('User:EhJJ/Gadget-vectorskin-thunks.js');
//importScript('User:EhJJ/Secure-links.js');
importScript('MediaWiki:Gadget-Hotcat.js');
showbydefault = true;
mw.loader.load('https://secure.wikimedia.org/wikipedia/en/w/index.php?title=User:Mr.Z-man/patrollinks.js&action=raw&ctype=text/javascript');
/* Mass Rollback from [[en:User:John254/mass rollback.js]] */
/* For safety
function rollbackEverythingButton() {
var hasRollback = getElementsByClassName(document, "span", "mw-rollback-link");
if (hasRollback[0] && (document.title.indexOf("User contributions") != -1) ) {
mw.util.addPortletLink('p-cactions', 'javascript:rollbackEverything()', "rollback all", "ca-rollbackeverything", "rollback all edits displayed here");
}
}
$(rollbackEverythingButton);
function rollbackEverything() {
for (var i in document.links) {
if (document.links[i].href.indexOf('action=rollback') != -1) {
window.open(document.links[i].href);
}
}
}
*/