Activity instead of promos

Makes the inbox button link directly to activity, marks all gifts as read, keeping the number of notifications in the red dot equal to the number of unread activity (old number - promos = only activity).

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
ajcrwl
今日安裝
0
安裝總數
4
評價
0 0 0
版本
20240701.3
建立日期
2024-06-30
更新日期
2024-07-01
尺寸
5.1 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 won't include any promos and will be equal to your unread activity (or zero). This works wherever you are on the website, you don't need to go to your inbox to dismiss unread promos. Promos don't disappear, you can still check them in your "Messages" tab.

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.

How to install:

There is a nice help page on GreasyFork: How to install user scripts.

  • Basically, look at the list of browser add-ons on there and install the appropriate one (I recommend whatever is free - Tampermonkey on Windows is what I use, and Userscripts for Safari seem to be a good choice [video on how to use]),

  • when that's done come back to this page and press the green button at the top ☝. Your add-on will download the script, and then you'll probably need to accept/save it.

  • after that visit Tapas/reload existing open tabs, and it should work.

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

Thank me with a tip :3

My links

Some pics with arrows and circles: