Show your Unread Alerts in the favicon

jdarwood007 jdarwood007 Updates ca0bf5d @ 2024-01-06 15:07:20
.github Updates 2024-01-06 15:07:20
Language Updates 2024-01-06 15:07:20
SMF2.0 Updates 2024-01-06 15:07:20
SMF2.1 Updates 2024-01-06 15:07:20
SMF3.0 Updates 2024-01-06 15:07:20
screenshots Updates 2024-01-06 15:07:20
.gitignore 29 B Updates 2024-01-06 15:07:20
.php-cs-fixer.dist.php 4.06 KB Updates 2024-01-06 15:07:20
.scrutinizer.yml 5.78 KB Update the scrutinizer file 2022-08-10 18:57:39
DCO.txt 1.21 KB Add DCO and scrutinizer files 2022-04-04 18:58:10
LICENSE.txt 1.48 KB Updates 2024-01-06 15:07:20
README.txt 837 B Update for SMF 2.1, revamping into supporting alerts 2022-03-06 17:23:36
composer.json 827 B Updates 2024-01-06 15:07:20
composer.lock 82.69 KB Updates 2024-01-06 15:07:20
package-info.xml 4.4 KB Updates 2024-01-06 15:07:20
preview.png 13.38 KB ! Added Unread PM Favicon SMF mod 2012-03-31 22:29:26
tinycon.min.js 3.03 KB Update for SMF 2.1, revamping into supporting alerts 2022-03-06 17:23:36
README.txt

SMF 2.0+ Modification. I will not back support this mod to older versions.

This modification adds a unread PM counter to the favicon. In addition it continues to check for PMs at a specified interval. Setting this variable to lower can result in server degration/performance issues. Use with caution. The default timeout is 1 minute (60 seconds).

Prior to asking for support, check out the wiki: https://github.com/jdarwood007/smfmod-faviconindicator/wiki

Credits for this ability go to Tom Moor for creating Tinycon: https://github.com/tommoor/tinycon

Browsers that support this: Chrome 15+ Firefox 9+ Opera 11+

The following browsers will fall back to changing the title due to lack of support for this: Internet Explorer 9 Safari 5

Websites with apple icons meta data may not function as iOS/Safari may overload the favicon