您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A grease monkey script for adding functionality to orlygift.
// ==UserScript== // @name orlygift-expansion // @namespace https://github.com/SolarPolarMan/orlygift-expansion // @version 0.1 // @description A grease monkey script for adding functionality to orlygift. // @author SolarPolarMan // @match https://github.com/SolarPolarMan/orlygift-expansion // @grant none // @include https://www.orlygift.com* // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js // ==/UserScript== (function() { 'use strict'; var credits = $(".info-box-number").text().split(" ")[0]; var data = $(".progress-description strong"); var users = data[0].outerText.split(" ")[0]; var avrgCredits = data[1].outerText.split(" ")[0]; var totalCredits = avrgCredits * users; $(".progress-description").html($(".progress-description").html() + "Chance: " + Math.round(((credits/totalCredits) + 0.00001) * 100) / 100 + "%"); })();