您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
puts a little notification badge in the menu for unread messages in your AO3 inbox
This script adds a little notification badge into the menu (top right of the screen, left of your usericon and the "Hi, [user]!" greeting), if you have unread messages in your AO3 inbox.
While you're browsing AO3, the script will load your dashboard in the background to check for unread inbox messages every few hours (configured in REFRESH_INTERVAL
). If there's an unread message, this badge displays on every AO3 page, as long as you're logged in.
Selecting the badge takes you directly to your AO3 inbox, and can filter to only show you the unread messages.
If you don't have any unread messages, the badge is hidden completely.
There are a few configuration options for you in the first few lines of the code:
REFRESH_INTERVAL
... set the number of hours, how often the script will check for new messages; by default it's set to 12 hoursBADGE_ICON
... set to true for an envelope icon, or to false to see the AO3-standard "Inbox (#)" textHIGHLIGHT_COLOR
... set a background color for the badge to stand out more, or if you don't want it to have a background, leave the quotes emptyFILTER_INBOX
... set to true if you'd like the sidebar links to the Inbox to automatically filter for unread messagesThis script does NOT send you notifications for new messages immediately as they arrive. That kind of functionality is not supported by AO3. But you can reduce the lag time by reducing the interval.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址