User:Chilisames/common.js

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