您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Highlight favourite fandoms in user page
Make your favourite fandoms easy to see when visiting a user's dashboard. Choose any combination of the following:
Install this and the separate config script here. Go to another user's page (http://archiveofourown.org/users/CertifiedDiplodocus) and check that both are enabled in your script manager.
Edit the configuration file in your script manager to set up your fandoms and preferences. The CONFIG script will not change when the main script updates, so your custom settings will be safe. Backing up your config to a text file is still always a good idea!
You can add a fandom to the custom highlighting list without taking it off the main list, e.g.:
fandomsToHighlight: ["Original Work", "Critical Role", "Harry Potter", "Naruto", "Scooby Doo"]
fandomsInColour: {"Naruto":"orange"}
shows "Naruto" highlighted in orange.
At the top of the CONFIG file, change the following line to your own username: @exclude http*://archiveofourown.org/users/YourUsernameHere/*
This will disable highlighting on your own dashboard.
The search matches any string which contains the text in quotes:
"Sherlock"
matches "Sherlock (BBC)", "Sherlock Holmes" and "Young Sherlock Holmes",
Use regular expressions such as "^" (string start) and "$" (string end) for more control:
"^Sherlock"
matches "Sherlock Holmes" but not "Young Sherlock Holmes"
"^Star Trek$"
matches only "Star Trek", not "Star Trek: The Original Series"
The "." wildcard will match any single character:
"Scooby.Doo"
matches "Scooby Doo" and "Scooby-Doo"
When adding fandoms to the list, take care to escape the following special characters with a backslash "\":
. + * ? ^ $ { } | \
e.g. for House M.D. write "House M\.D\."
Parentheses and brackets ()[]
must be escaped with a double backslash "\". Alternatively, use the wildcard "."
: for "The Avengers (Marvel)" write "The Avengers \\(Marvel\\)
or "The Avengers .Marvel."
Useful links:
(Tested in Tampermonkey and Violentmonkey. May not work in Greasemonkey, which doesn't support //@match http*:
)
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址