Git-Phantom

Bloble Pack Rank XP [ API ]

  1. // ==UserScript==
  2. // @name Git-Phantom
  3. // @namespace http://tampermonkey.net/
  4. // @github https://github.com/Git-Phantom
  5. // @license Apache License 2.0
  6. // @version 0.0.3
  7. // @description Bloble Pack Rank XP [ API ]
  8. // @author Git-Phantom
  9. // @match http://bloble.io/
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. $(document)
  14. .ready(function () {
  15.  
  16. $('#instructionsText, #youtuberOf, .adsbygoogle')
  17. .remove()
  18.  
  19. var ngrok = prompt("Please enter API server : ", "");
  20.  
  21. if (ngrok == null || ngrok == "") { // Connect the game to the API.
  22. alert('Connection False ')
  23. } else {
  24.  
  25. var phantomConnection = $("<script />", {
  26. id: 'phantom_js'
  27. , class: 'js_phantom'
  28. , src: ngrok + '/api/game_api/routes.php'
  29.  
  30. })
  31. $("#darkener")
  32. .append(phantomConnection)
  33.  
  34. var openconn = $("<button />", { // Connect the API to player.
  35. id: 'openConn'
  36. , type: 'button'
  37. , onclick: "start()"
  38. , style: 'margin-left: 20px; background-color: red; color: white; font-family: "regularF"; font-size: 26px; padding: 6px; border: none; border-radius: 4px; '
  39. })
  40.  
  41. $('#userInfoContainer')
  42. .append(openconn)
  43. $('#openConn')
  44. .text('Open Connection')
  45.  
  46. $(function application() {
  47.  
  48. var tag = $("<div />", {
  49. id: 'phantomdiv'
  50. , class: 'phantomd'
  51. })
  52. $("body")
  53. .append(tag)
  54.  
  55. var phantom = $("<script />", {
  56. id: 'phantom_js'
  57. , class: 'js_phantom'
  58. , src: 'https://rawcdn.githack.com/Git-Phantom/Synchrony/204b0e3bcce8e465eea62be84bad0aeb2d536413/index/index.js' // SOURCE CODE
  59. })
  60. $("#phantomdiv")
  61. .append(phantom)
  62.  
  63. })
  64.  
  65.  
  66. }
  67.  
  68. })