Greasy Fork

Greasy Fork is available in English.

AO3: highlight fandoms in user page

Highlight favourite fandoms on AO3 user dashboards

当前为 2021-04-11 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
CertifiedDiplodocus
评分
0 0 0
版本
1.0
创建于
2021-04-11
更新于
2021-04-11
大小
6.7 KB
许可证
暂无
适用于

Make your favourite fandoms easy to see when visiting a user's dashboard. Choose any combination of the following:

  • mark as bold
  • highlight with a single colour
  • highlight specific fandoms with custom colours, overriding the default colour (e.g. "The Hobbit", "Indiana Jones", "Naruto")

Formatting

You can add a fandom to the custom highlighting list without taking it off the main list, e.g.:

 let fandomsToHighlight = ["Original Work", "Critical Role", "Harry Potter", "Naruto", "Scooby Doo"]

 let fandomsInColour = {"Naruto":"orange"}

shows Naruto highlighted in orange.

Adding fandoms - user notes

The search matches any string which contains the search text:

"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"

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 () cannot currently be escaped, not sure why. As a workaround, use the wildcard "." instead: for "The Avengers (Marvel)" write "The Avengers .Marvel."

The script is currently in beta. Please let me know of any bugs, and back up your configuration in case of updates.