1// 2// firefly-message-deleter.js 3// 4// Old announcements tend to pile up in Firefly, and this is my solution to 5// delete them all at once. Run bulkClick() in the browser console. Currently 6// one has to manually execute the code on each page (typically 10 items/page). 7// Alternatively, use Greasemonkey/Tampermonkey. 8// 9 10functionbulkClick() { 11for(let e of document.getElementsByClassName("ff-message-close")) { 12 e.click(); 13} 14 location.reload(true);// 'true' ignores cache 15}