User:SD0001/watchlist-update-title
Appearance
Description | Show number of new watchlist changes in title |
---|---|
Author(s) | SD0001 |
Updated | October 28, 2021 (3 years ago) |
Source | User:SD0001/watchlist-update-title.js |
This script shows a live count of the number of new watchlist changes in the page's HTML title, which can be seen while working in another tab.
The count is updated whenever the watchlist undergoes a live update, and is reset when the watchlist page comes into focus (i.e, when you switch to that tab from another, or if you click anywhere on the page if you were already on it).
Installation
[edit]This script works globally.
To install across all WMF wikis, add:
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:SD0001/watchlist-update-title.js&action=raw&ctype=text/javascript'); // [[User:SD0001/watchlist-update-title.js]]
on your global.js page on meta. Or add it to your common.js locally for use on a specific wiki.