The discussion is about a userscript called “Close and Archive” created by Firepup650 to close and archive old private messages (PMs) on a Discourse forum. The script is designed to work with the Tampermonkey browser extension. NateDhaliwal asked how to run the script, and Firepup650 explained that it’s a Tampermonkey script.
Canapin compared the script’s functionality to the a shortcut on PM pages and noted that archived posts can’t be replied to. Firepup650 replied that the script also closes the PM, and Canapin quoted a post from another topic stating that archived posts can’t be interacted with.
Firepup650 explained that they close PMs to make it clear they’re not supposed to be replied to. Canapin suggested that if Firepup650 is an admin, they could create a theme component instead of a userscript. Canapin also shared a userscript they use on meta.discourse.org to add a shortcut for wrapping text with <kbd> tags.
Firepup650 replied that they created the script because it was faster to edit and test, and Firepup650 later modified the script to work on topics as well.
Also, I don’t user Tampermonkey as it’s closed source, I prefer using open source software, and there are several contender (they all look the same and the scripts are cross-compatibles). I think the most used is Violentmonkey.
I just threw it in a userscript because I was too lazy to make a TC for it, and this was faster to edit and test (I originally just ran it in the console a handful of times to test it)
Oooooooh that’s actually really nice to have, ty for sharing!