User:Mandarax/ConfirmMobileRollback.js

// Require confirmation of rollback from mobile devices if (navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i)) {jQuery(function($){ $(".mw-rollback-link a").click(function(event){ if(confirm("Confirm rollback?")) return; event.preventDefault; }); });}