Greasy Fork is available in English.

stake mines

try to take over the world!

  1. // ==UserScript==
  2. // @name stake mines
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author You
  7. // @match https://stake.com/casino/games/mines
  8. // @grant none
  9. // ==/UserScript==
  10. window.onload = function() {
  11. //For single key: Short cut key for 'a'
  12. document.onkeypress = function (a) {
  13. var evt = window.event || a;
  14. switch (evt.keyCode) {
  15. case 65:
  16. // Call your method Here
  17. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[0].click();
  18. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[5].click();
  19. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[10].click();
  20. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[15].click();
  21. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[20].click();
  22. }
  23. }
  24.  
  25. //For single key: Short cut key for 's'
  26. document.onkeypress = function (s) {
  27. var evt = window.event || s;
  28. switch (evt.keyCode) {
  29. case 83:
  30. // Call your method Here
  31. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[1].click();
  32. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[6].click();
  33. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[11].click();
  34. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[16].click();
  35. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[21].click();
  36. }
  37. }
  38.  
  39. //For single key: Short cut key for 'd'
  40. document.onkeypress = function (d) {
  41. var evt = window.event || d;
  42. switch (evt.keyCode) {
  43. case 68:
  44. // Call your method Here
  45. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[2].click();
  46. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[7].click();
  47. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[12].click();
  48. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[17].click();
  49. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[22].click();
  50. }
  51. }
  52.  
  53. //For single key: Short cut key for 'f'
  54. document.onkeypress = function (f) {
  55. var evt = window.event || f;
  56. switch (evt.keyCode) {
  57. case 70:
  58. // Call your method Here
  59. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[3].click();
  60. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[8].click();
  61. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[13].click();
  62. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[18].click();
  63. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[23].click();
  64. }
  65. }
  66.  
  67. //For single key: Short cut key for 'g'
  68. document.onkeypress = function (g) {
  69. var evt = window.event || g;
  70. switch (evt.keyCode) {
  71. case 71:
  72. // Call your method Here
  73. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[4].click();
  74. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[9].click();
  75. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[14].click();
  76. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[19].click();
  77. $(".styles__Wrap-sc-1prdpq6-0.eJeYQq").children[24].click();
  78. }
  79. }
  80. }