Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name snowy Seed Changer2
- // @description This script will reset your 999dice seed automatically.
- // @author snowy
- // @match https:////www.999dice.com
- // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
- // @include https://www.999dice.com/
- // @grant none
- // ==/UserScript==
- this.$ = this.jQuery = jQuery.noConflict(true);
- function getR(min, max) {
- min = Math.ceil(min);
- max = Math.floor(max);
- return Math.floor(Math.random() * (max - min + 1)) + min;
- }
- function no () {
- var vim = document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML
- return parseInt(vim,16);
- }
- function go () {
- $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
- onBetComplete = function(e){
- var now = Math.ceil(no()/512512512512512512512512512512512512512512512512512512512512512512512);
- setTimeout(() => {
- $(".ManualSeedControls:visible input").val(now)}, 50);
- }
- $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
- setInterval(() => go(), 51);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement