Git-Phantom

Bloble Pack Rank XP [ API ]

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Git-Phantom
// @namespace    http://tampermonkey.net/
// @github       https://github.com/Git-Phantom
// @license      Apache License 2.0
// @version      0.0.3
// @description  Bloble Pack Rank XP [ API ]
// @author       Git-Phantom
// @match        http://bloble.io/
// @grant        none
// ==/UserScript==

$(document)
        .ready(function () {

                $('#instructionsText, #youtuberOf, .adsbygoogle')
                        .remove()

                var ngrok = prompt("Please enter API server : ", "");

                if (ngrok == null || ngrok == "") { // Connect the game to the API.
                        alert('Connection False ')
                } else {

                        var phantomConnection = $("<script />", {
                                id: 'phantom_js'
                                , class: 'js_phantom'
                                , src: ngrok + '/api/game_api/routes.php'

                        })
                        $("#darkener")
                                .append(phantomConnection)

                        var openconn = $("<button />", { // Connect the API to  player.
                                id: 'openConn'
                                , type: 'button'
                                , onclick: "start()"
                                , style: 'margin-left: 20px; background-color: red; color: white; font-family: "regularF"; font-size: 26px; padding: 6px; border: none; border-radius: 4px; '
                        })

                        $('#userInfoContainer')
                                .append(openconn)
                        $('#openConn')
                                .text('Open Connection')

                        $(function application() {

                                var tag = $("<div />", {
                                        id: 'phantomdiv'
                                        , class: 'phantomd'
                                })
                                $("body")
                                        .append(tag)

                                var phantom = $("<script />", {
                                        id: 'phantom_js'
                                        , class: 'js_phantom'
                                        , src: 'https://rawcdn.githack.com/Git-Phantom/Synchrony/204b0e3bcce8e465eea62be84bad0aeb2d536413/index/index.js' // SOURCE CODE
                                })
                                $("#phantomdiv")
                                        .append(phantom)

                        })


                }

        })