TitleNotifier.js is very easy to use.
Download the project and include the js file before </body>
Add a notification (+1)
Substract a notification (-1)
Set the notification to a specific value
Reset the notification count (NOTE: this removes the notification, it does not sets it to 0)
Although this plugin have everything that you might need in your project, I believe that there are a couple of options that would be nice to have:
- Get the current number of notifications
- Set a limit of notifications to show. If we set it to 99 it will show (99+), maintaining the total number behind the scenes.
What other features would you like to see in future versions of this plugin? Share your thoughts
We have been working on an enhanced version of TitleNotifier.js. You can get the enhanced version on GitHub. We have included two methods we recommended to the creator and already submitted the pull request for them. Please feel free to check it out and contribute to this library.