您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
当前为
// ==UserScript== // @name Roblox Beeswarm Servery // @namespace http://tampermonkey.net/ // @version 0.2 // @description try to take over the world! // @author You // @match https://web.roblox.com/games/1537690962/Bee-Swarm-Simulator* // @grant none // ==/UserScript== (function() { 'use strict'; (async function() { for(let i = 20; i < 200; i++){ let cs = 50*i; fetch(`https://web.roblox.com/games/getgameinstancesjson?placeId=1537690962&startIndex=${cs}&_=1586418906147`).then( t=>t.json()).then(async t=> { if(t.Collection.length){ console.log(t.Collection[0].PlayersCapacity,t.Collection[0].JoinScript) for(let c of t.Collection){ const joinB = document.createElement("a",null) joinB.setAttribute("onclick", c.JoinScript) joinB.setAttribute("class", "btn-full-width btn-control-xs rbx-game-server-join") joinB.style.background="lightgreen"; joinB.innerText = c.PlayersCapacity // await setTimeout(()=>0,50) if(joinB.innerText[0] < 4){ document.querySelector(".content").append(joinB) } } } }) } })() // Your code here... })();