Torn NoConfirm Revive

description

  1. // ==UserScript==
  2. // @name Torn NoConfirm Revive
  3. // @namespace namespace
  4. // @version 0.2
  5. // @description description
  6. // @author tos
  7. // @match *.torn.com/profiles.php*
  8. // @match *.torn.com/hospitalview.php*
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. $( document ).ajaxSend(function(event, jqXHR, ajaxObj) {
  14. if(ajaxObj.url) ajaxObj.url = ajaxObj.url.replace('action=revive', 'action=revive&step=revive')
  15. })