--- /dev/null
+//
+// firefly-message-deleter.js
+//
+// Old announcements tend to pile up in Firefly, and this is my solution to
+// delete them all at once. Run bulkClick() in the browser console. Currently
+// one has to manually execute the code on each page (typically 10 items/page).
+// Alternatively, use Greasemonkey/Tampermonkey.
+//
+
+function bulkClick() {
+ for(let e of document.getElementsByClassName("ff-message-close")) {
+ e.click();
+ }
+ location.reload(true); // 'true' ignores cache
+}