User:Schiffy/common.js

/* Automate purge confirmation dialog */ if (mw.config.get('wgAction') === 'purge') { $('form[action*="action=purge"]').submit; }