你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/474892-ao3-badge-for-unread-inbox-messages,源站連結 點此以跳轉。
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. This badge displays on every AO3 page, as long as you're logged in.
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 messagesWhile 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). It 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.