# Discourse close & archive topic userscript

**URL:** <https://meta.discourse.org/t/discourse-close-archive-topic-userscript/352211>\
**Category:** General\
**Created:** [February 14, 2025, 4:23am UTC](https://meta.discourse.org/t/discourse-close-archive-topic-userscript/352211 "2025-02-14T04:23:57Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)\
**Post date:** [February 14, 2025, 6:18pm UTC](https://meta.discourse.org/t/discourse-close-archive-topic-userscript/352211/9 "2025-02-14T18:18:10Z")

</div>

> [@Canapin](#):
>
> Are you an admin or only a moderator? If you are admin, you could probably create a theme component instead of relying on a userscript.

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)

> [@Canapin](#):
>
> On [meta.discourse.org](http://meta.discourse.org), I have one that adds a Ctrl+Shift+k shortcut to wrap my selected text with `<kbd>` tags inside the composer

Oooooooh that’s actually really nice to have, ty for sharing!

---

_[View the full topic](https://meta.discourse.org/t/discourse-close-archive-topic-userscript/352211)._
