您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Notification script for Arena of Glory
// ==UserScript== // @name AoG Notifications // @namespace http://tampermonkey.net/ // @version 0.3 // @description Notification script for Arena of Glory // @author Xortrox // @match https://play.arenaofglory.io/* // @icon https://play.arenaofglory.io/favicon.ico // @grant none // @license MIT // @require https://greasyfork.org/scripts/438798-userscript-notification-framework/code/UserScript%20Notification%20Framework.js?v=0.3 // @require https://greasyfork.org/scripts/438801-userscript-automated-element-text-notifier/code/UserScript%20Automated%20Element%20Text%20Notifier.js?v=0.7 // ==/UserScript== (async function() { const scanConfig = [{ includes: ['claim'], excludes: ['claimed'], notificationText: 'You have at least one adventure to claim' }, { includes: ['reload adventures'], notificationText: 'You can reload adventures' }]; const automatedElementTextNotifier = new AutomatedElementTextNotifier({ icon: 'https://play.arenaofglory.io/favicon.ico', title: 'Arena of Glory', selector: '.button label', config: scanConfig, interval: 60000, }); await automatedElementTextNotifier.init(); })();