Lightweight (< 3Kb), dependency-free javascript library to dynamically show the number of unread notifications in your webpage title.
Add title_notifier.js to your webpage.
<script src="title_notifier.js"></script>Call the following function to add +1 to notifications total.
titlenotifier.add();Call the following to subtract 1 from the total notifications.
titlenotifier.sub();Call the following to set notifications to zero and the title to the original version.
titlenotifier.reset();Contributions are welcome.


