Activity instead of promos

Replaces promo notification button with activity, and marks all promos as read, keeping the number of notifications in the red dot equal to the number of unread activity (old number - promos = only activity).

目前为 2024-06-30 提交的版本。查看 最新版本

作者
ajcrwl
评分
0 0 0
版本
2024-06-30
创建于
2024-06-30
更新于
2024-06-30
大小
4.9 KB
许可证
CC BY-NC-SA 4.0
适用于

This script works for all logged in desktop Tapas users on any page of the website.

What it does:

1) This script replaces the url of your inbox button with a direct link to your activity notifications, where you can find all the personal likes, comments, etc. Normally it leads to an /inbox/messages page, which is a list of promotional messages.

2) If there is a number of unread messages, script checks for new promos, marks them all read and refreshes the page. As a result, the number of unread items will be equal to your unread activity (or zero). Promos don't go anywhere, you can still check them in your "Messages" tab in your inbox.

Script will make additional web requests to Tapas if there's a number of unread notifications, so I recommend marking your activity as read after you've checked it.

If you have any issues, or something stops working you can DM me on discord or tapas forums @ajcrwl.

Send me a tip | All of my links