HackForums.net - Automatic PM Retry

Automatically sends a PM after the cooldown timer reaches 0.

As of 2014-07-02. See the latest version.

  1. // ==UserScript==
  2. // @name HackForums.net - Automatic PM Retry
  3. // @namespace spafic/pmretry
  4. // @description Automatically sends a PM after the cooldown timer reaches 0.
  5. // @author Spafic
  6. // @copyright Spafic 2012 (http://userscripts.org/users/Spafic)
  7. // @licence GNU General Public License
  8. // This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For a copy, see <http://www.gnu.org/licenses/>. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.use
  9. //
  10. // @match *://*.hackforums.net/private.php
  11. // @version 1.0.1
  12. //
  13. //
  14. // @icon http://cdn2.hackforums.net/uploads/ficons/hf-news.png
  15. // @icon64 http://cdn2.hackforums.net/uploads/ficons/hf-news.png
  16. //
  17. // @history 1.0.0 - Script created
  18. // @history 1.0.1 - Script compressed
  19. //
  20. // ==/UserScript==
  21.  
  22. (function(){var a,b;a=document.getElementsByClassName(String.fromCharCode(101,114,114,111,114))[0].innerHTML.toString().match(/wait (.*?) more/)[1];b=document.getElementsByName(String.fromCharCode(115,117,98,109,105,116))[0];setTimeout(function(){b.click()},1E3*a)})();