User:Jdlrobson/Gadget-trending-edits

The gadget User:Jdlrobson/Gadget-trending-edits.js will notify you of edit surges on Wikipedia as and when they happen. Use it to find vandalism as well as timely articles to edit. Notifications will only be triggered while you are using Wikipedia, not when you have left the site.

Installation
Add the following to your user common.js file: mw.loader.load('/w/index.php?title=User:Jdlrobson/Gadget-trending-edits.js&action=raw&ctype=text/javascript');

How does it work

 * Load the script
 * Visit any page.
 * Wait 5 seconds
 * If something is trending, your browser will request for permission to send you a notification. Grant that permission.
 * If nothing is trending you will not notice any difference
 * When something is trending you will get a notification. Click the notification to view

Support
This works on modern desktop browsers. To make this work on mobile, service worker support in gadgets is needed.