This plugin display notification in your admin' pages when new comments/trackbacks are posted on the currently selected blog, or if the currently edited post (or page) has been modified elsewhere (other browser, machine, user, โฆ).
By default new comments are checked every 30 seconds and entries' modifications every 60 seconds. Note that spam comments/trackbacks do not fire any notification, neither your own comments or trackbacks. Theses intervals may be changed in "My preferences", tab "My options".
Each kind of notification may be disabled or enabled regardless the plugin is enabled or not.
How to display browser notification using this plugin.
Load (if necessary) /js/notify.js, and call notifyBrowser(msg[,title]):
<script src="index.php?pf=NotifyMe/js/notify.js"></script>
<script>
notifyBrowser('Hello world!');
</script>
<script>
import { notifyBrowser } from './index.php?pf=notifyMe/js/notify.mjs';
notifyBrowser('Hello world!');
</script>
Or:
<script>
const notifyMe = import('./index.php?pf=notifyMe/js/notify.mjs');
notifyMe.notifyBrowser('Hello world!');
</script>
#!php
use Dotclear\Plugin\notifyMe\Helper as NotifyMe;
NotifyMe::NotifyBrowser(msg[,title]);
GPL v2, fork and distribute it freely. You may pay me a ๐บ or even ๐ป if you find this plugin useful!
- โก autosave plugin will fire a notification at every save.