UserScript Automated Button Text Notifier

This script is intended to work with @require only. Provides class AutomatedButtonTextNotifier

2022-01-19 기준 버전입니다. 최신 버전을 확인하세요.

이 스크립트는 직접 설치하는 용도가 아닙니다. 다른 스크립트에서 메타 지시문 // @require https://update.greasyforks.org/scripts/438801/1010215/UserScript%20Automated%20Button%20Text%20Notifier.js을(를) 사용하여 포함하는 라이브러리입니다.

작성자
Xortrox
버전
0.1
생성일
2022-01-19
갱신일
2022-01-19
크기
2.84KB
라이선스
MIT

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();

长期地址
遇到问题?请前往 GitHub 提 Issues。