您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Helper Script to create a matchlist for your Furaffinity Script
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/485827/1318252/Furaffinity-Match-List.js
Helper Script to create Custom pages on Furaffinitiy. Also see this Script on Greasy Fork as Furaffinity-Custom-Pages
@require
this script
Create a new MatchList:
const matchlist = new MatchList(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");
See MatchList for more info
Check for matches:
if (matchlist.hasMatch())
doSomething();
The MatchList class contains following Properties:
matches
- The array of matches for which to checkrunInIFrame
- Wethere your Script is allowed to run in an IFramecustomSettings
- The CustomSettings which to display if your Script is allowed to run (See CustomSettings)It has following functions:
addMatch(match)
- Adds a new match to the listremoveMatch()
- Removes the last match from the listhasMatch()
- Checks if the list contains a matchgetMatch()
- Returns a Match if there is one