您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Collect automatically rewards
// ==UserScript== // @name BTC Spinner (Automated Wheel Spin) // @namespace http://tampermonkey.net/ // @version 2021.2 // @description Collect automatically rewards // @author Frankie // @match https://btcspinner.io/spinner // @grant none // ==/UserScript== (($) => { const log = (message) => console.log(`(${new Date().toLocaleString()}) [BTC Spinner] ${message}`) const getSpins = () => { if (typeof window.Laravel.user.spins !== 'undefined') { if (window.Laravel.user.spins <= 0) return 0 return parseInt(window.Laravel.user.spins) } // It should never reach this line, but just in case it will parse it from the HTML body as safe callback if needed. return parseInt($($(".balance")[0]).text().replace(" ", ""), 0) } const getRandom = (min, max) => Math.floor(Math.random() * (Math.ceil(max) - Math.ceil(min) + 1)) + Math.ceil(min) const chestSelector = (randomMode = false, options = {min: 1, max: 3}, failsafeValue = 1) => randomMode ? getRandom(options.min ?? 1, options.max ?? 3) : failsafeValue log("Automated Wheel Spin loaded successfully!") log("Checking spins...") let spins = getSpins() log(`Available spins: ${spins}.`) // hidden lines 814 const notify = (message = `Please, open the web page inspector and switch to the Console tab. Contact me at [email protected] to get the full script.` ) => new Promise((resolve, reject) => { resolve(message) }) notify() .then(m => { log(m) return m }) .then(m => alert(m)) })(window.jQuery)