Twitter - add unread notifications count in the tab title

Adds unread notifications count in the tab title

作者のサイトでサポートを受ける。または、このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
darkred
1日のインストール数
0
累計インストール数
266
評価
0 0 0
バージョン
2018.2.27
作成日
2015/04/10
更新日
2020/06/25
ライセンス
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