- Overview
- Documents
Title Notifier is a lightweight (< 3kb), dependency-free javascript library to dynamically show the number of unread notifications in your webpage title.
Source: roshiro.github.io
Jun 16, 2014 in Reader & Parser 3699 views
Title Notifier is a lightweight (< 3kb), dependency-free javascript library to dynamically show the number of unread notifications in your webpage title.
Source: roshiro.github.io
1. INCLUDE JS FILES
<script src="title_notifier.js"></script>
2. JAVASCRIPT
Adding a notification:
titlenotifier.add();
Subtracting a notification:
titlenotifier.sub();
Setting number of notification:
titlenotifier.set(10);
Resetting notification:
titlenotifier.reset();
Tagged with:
title notifier
javascript library
number of notifications
unread notifications
webpage title
notification
notifier
Related Articles