Jump to content


  • Content Count

  • Joined

  • Last visited

Reputation Activity

  1. Upvote
    derghost got a reaction from BitCoinMNR in Primedice visual/comfort plugin (PVCP)   
    Primedice Visual/Comfort Plugin

     i saw something that i would love to change, i just did it. 

    current feature(version 0.35)
    hide rollbar
    shrink result list
    new seed button
    safemode (max button hidden)
    removed scrollbar to the right (stopping the strange movement of the screen)

    required: tampermonkey (http://tampermonkey.net/)
    updateurl: http://gamble.ghost-server.de/pvcp.js

    i will keep this post and the update url the same, so you can check both before updating or not. 

    only consider the auto update of external scripts via tampermonkey if you trust the source, it may harm your deposits
    it would be easy to withdraw all your money if i would want to with auto update active/without checking the script.
    // ==UserScript== // @name Primedice Visual/Comfort Plugin (PVCP) // @namespace http://gamble.ghost-server.de/ // @version 0.35 // @description try to take over the world! // @author derghost // @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js // @match https://primedice.com/play // @grant none // ==/UserScript== (function() { 'use strict'; $('body') .prepend( $('<button/>').addClass('btn').attr({style:"position: fixed;top: 198px; left: 375px; height: 40px; width: 140px;z-index:9999;"}) .text("t.safemod") .click( function() { var maxbutton = null; var spans = $('.dice__control__button span'); spans.each(function() { if ($(this).text() == "max") maxbutton = $(this); }) if (maxbutton.is(":visible")) maxbutton.parent().hide(); else maxbutton.parent().show(); } ) ) .prepend( $('<button/>').addClass('btn').attr({style:"position: fixed;top: 157px; left: 375px; height: 40px; width: 140px;z-index:9999;"}) .text("t.smaller") .click( function() { if ($('#tablestylechanged').length !== 0) $('#tablestylechanged').remove(); else $('body').prepend($('<style/>').attr('id','tablestylechanged').text(".index__game-stats__table li span, .index__game-stats__list, .index__game-stats { padding: 1px 0; }")); } ) ) .prepend( $('<button/>').addClass('btn').attr({style:"position: fixed;top: 116px; left: 375px; height: 40px; width: 140px;z-index:9999;"}) .text("t.rollbar") .click( function(){ if ($('.index__home__indicator').is(":visible")) { $('.index__home__indicator').hide(); } else { $('.index__home__indicator').show(); } } ) ) .prepend( $('<button/>').addClass('btn').attr({style:"position: fixed;top: 75px; left: 375px; height: 40px; width: 140px;z-index:9999;"}) .text("new seed") .click(function(){ $('.fair__modal__content__wrap').find('.btn').click(); }) ) .append($('<style/>').text("html { -ms-overflow-style: none; overflow: -moz-scrollbars-none; }")) .append($('<style/>').text("::-webkit-scrollbar { display: none; }")); setTimeout(function(){ var spans = $('.dice__control__button span'); console.log(spans); spans.each(function() { if ($(this).text() == "max") $(this).parent().hide(); }) },1000); })();

    version 0.1:
    the new seed button
    version 0.2:
    as bitcoinmnr wishes the toggle rollbar button ("t.rollbar")
    version 0.3:
    shrink result list toggle ("t.smaller")
    version 0.31 
    changed width of buttons
    version 0.33
    added safemode toggle, no max button on load ("t.safemod")
    version 0.34
    removed scrollbar to the right (suppress strange window moves)
    version 0.35
    fixed a bug where buttons in automated betting was hidding aswell as the max button

    next to come: 
    button <-> chat response (if chat not displayed, move button to the left)
    increase % button (just a button "increase" and a box with the % amount to increase current bet amount) (for manual gambling)


    - derghost, gamble responsible
    p.s: if you like, feel free to tip
    and dont forget to like it if you use it