Library to create a matchlist for your Furaffinity Script
Tento skript by neměl být instalován přímo. Jedná se o knihovnu, kterou by měly jiné skripty využívat pomocí meta příkazu // @require https://update.greasyfork.org/scripts/485827/1803333/Furaffinity-Match-List.js
Helper Library to create a Matchlist for your custom FurAffinity Script.
See documentation on Furaffinity-Match-List
@require this script
Create a new MatchList:
const matchlist = new FAMatchList(customSettings); //customSettings is optional
See CustomSettings for more info
Add Matches to the list with either addMatch or matches.push:
matchlist.addMatch("part/of-url");
matchlist.matches.push("part/of-url");
matchlist.matches = ["part/of-url"];
See MatchList for more info
Check for matches:
if (matchlist.hasMatch) {
⠀⠀doSomething();
}
| Feature | Status |
|---|---|
| Have basic Matchlist | ✅ Completed |
| Have some Options | ✅ Completed |
| ⠀⠀⠀⠀Whether to run in an IFrame | ✅ Completed |
| ⠀⠀⠀⠀Whether to log the running status | ✅ Completed |
| Integration with Furaffinity-Custom-Settings | ✅ Completed |