你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/9138-twitter-add-unread-notifications-count-in-the-tab-title,源站連結 點此以跳轉

Twitter - add unread notifications count in the tab title

Adds unread notifications count in the tab title



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/9138/Twitter%20-%20add%20unread%20notifications%20count%20in%20the%20tab%20title.user.js

安装此脚本?
作者
darkred
日安装量
0
总安装量
267
评分
0 0 0
版本
2018.2.27
创建于
2015-04-10
更新于
2020-06-25
大小
3.8 KB
许可证
MIT
适用于

This script adds unread notifications count in the tab title in Twitter.
eg. (in timeline) instead of
(1) Twitter, it becomes
3 | (1) Twitter
where 3 is the unread notifications count and (1) the default unread tweets count.

Note: there has been a recent change in Twitter's layout, and so,
whenever you have new more than 20 unread tweet in your timeline,
the unread tweets count (in the 'See 2 new Tweets' button as well as in the tab title) is changed into an asterisk,
and after that, there's no unread count value available in the page code, for the script to use.

Since v3 it uses the excellent library arrive.js

Thanks a lot to wOxxOm for his valuable help in here.

Tampermonkey and Violentmonkey are supported - Greasemonkey is not supported.

Hosted in GitHub