Advertisement
coinwalk

tampermonkey bot2

May 27th, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. // ==UserScript==
  2. // @name snowy Seed Changer2
  3. // @description This script will reset your 999dice seed automatically.
  4. // @author snowy
  5. // @match https:////www.999dice.com
  6. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
  7. // @include https://www.999dice.com/
  8. // @grant none
  9.  
  10. // ==/UserScript==
  11. this.$ = this.jQuery = jQuery.noConflict(true);
  12.  
  13. function getR(min, max) {
  14. min = Math.ceil(min);
  15. max = Math.floor(max);
  16. return Math.floor(Math.random() * (max - min + 1)) + min;
  17. }
  18. function no () {
  19. var vim = document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML
  20. return parseInt(vim,16);
  21. }
  22. function go () {
  23. $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
  24. onBetComplete = function(e){
  25. var now = Math.ceil(no()/getR(111111111111111111111111111111111111111111111111111111111111111111111,999999999999999999999999999999999999999999999999999999999999999999999));
  26. setTimeout(() => {
  27. $(".ManualSeedControls:visible input").val(now)}, 50);
  28. }
  29. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  30. setInterval(() => go(), 51);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement