User:Bearborg/global.js

$(".mw-rollback-link > a").click(function (event) {       if (!confirm('Revert edit?')) {            event.preventDefault;        }    });