Git-Phantom

Bloble Pack Rank XP [ API ]

当前为 2021-02-13 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==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)

                        })


                }

        })