Greasy Fork is available in English.
This script is intended to work with @require only. Provides class AutomatedButtonTextNotifier
Version vom
Dieses Skript sollte nicht direkt installiert werden. Es handelt sich hier um eine Bibliothek für andere Skripte, welche über folgenden Befehl in den Metadaten eines Skriptes eingebunden wird // @require https://update.greasyfork.org/scripts/438801/1010215/UserScript%20Automated%20Button%20Text%20Notifier.js
Not intended for installation, only used with [@require](https://wiki.greasespot.net/Metadata_Block#.40require)
Provides class AutomatedButtonTextNotifier
Example usage:
const notificationConfig = [];
notificationConfig.push({
includes: ['claim'],
excludes: ['claimed'],
notificationText: 'You have at least one adventure to claim'
});
notificationConfig.push({
includes: ['reload adventures'],
notificationText: 'You can reload adventures'
});
const automatedButtonTextNotifier = new AutomatedButtonTextNotifier({
icon: 'https://play.arenaofglory.io/favicon.ico',
title: 'Arena of Glory',
selector: '.button label',
config: notificationConfig,
interval: 60000,
});
await automatedButtonTextNotifier.init();