Discourse onderwerp sluiten en archiveren userscript

Wait… so how do I run this? Where should I place it?