由于某种原因,坦帕蒙奇无法单击按钮

时间:2019-11-20 04:50:44

标签: javascript bots tampermonkey roblox

我需要帮助来找出脚本出了什么问题。也许Roblox正在阻止它。我真的需要帮助!

// ==UserScript==
// @name         Roblox limited auto buy Part 2
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        *://web.roblox.com/catalog/*
// @grant        none
// @run-at document-end
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==
// Want to change the link instead use window.location.href = "https://chrome.google.com";
// Use at your own risk *://web.roblox.com/catalog/*
// Classes begin with . not #

var $ = window.jQuery;

window.addEventListener("load", function(event){
    console.log("All resources finished loading!");
    if ($(".icon-label icon-limited-unique-label")[0]){
        $(".PurchaseButton").click();
    }
});

0 个答案:

没有答案