Spare5 Available Task Notifications
This userscript periodically checks the Spare5 task list for new web tasks, updating the tab icon and title in response to available tasks. Pin the tab and easily see that tasks are available when the icon is green.
The Greasemonkey or Tampermonkey browser extensions are required to install this script and receive automatic updates, see below for instructions.
Open a tab to your Spare5 tasks list and sign in. The userscript will periodically refresh this page to update the tab with the current status of available tasks.
At this time there is no customization available for the userscript. You may edit the settings at the top of the userscript, but your edits will not be preserved if the userscript is updated.
This userscript is configured to support automatic updates when changes are published. Your userscript manager may prompt you to install updates when available; refer to this gist for information about the changes in each version.
This script is only activated on the following pages of spare5.com:
All script activity is performed locally in your web browser based on the data available on the Spare5 page that you are viewing; the userscript does not load or contact any external systems.
0.1.x - August 2016
Fixed occasional initialization errors plaguing the 0.0.x series that occasionally caused the green icon to show despite no matching tasks available and embraced jQuery throughout for consistency. Also ensures that the page keeps reloading after an error such as the 500 ISE that popped up recently is encountered.
0.0.x - June 2016
Early adaptations of the core functionality and testing. The userscript provides changes to the browser tab title and icon to show when tasks are available.
Copyright (c) 2016 Ian Paterson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.