# Is it possible to hide the ‘keyboard shortcuts’ button?

**URL:** https://meta.discourse.org/t/is-it-possible-to-hide-the-keyboard-shortcuts-button/371778
**Category:** Support
**Tags:** keyboard-shortcuts
**Created:** [June 26, 2025, 7:11am UTC](https://meta.discourse.org/t/is-it-possible-to-hide-the-keyboard-shortcuts-button/371778 "2025-06-26T07:11:43Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![MihirR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mihirr/32/475158_2.png) [@MihirR](https://meta.discourse.org/u/MihirR)
#### Post date: [June 26, 2025, 8:18am UTC](https://meta.discourse.org/t/is-it-possible-to-hide-the-keyboard-shortcuts-button/371778/2 "2025-06-26T08:18:52Z")

</div>

There is no such setting in the discourse admin settings but it’s possible with some tweaks using theme component or plug-in.

If you are disabling it maybe for this issue then have a look. [Shortcuts messing with canvas focus](https://meta.discourse.org/t/shortcuts-messing-with-canvas-focus/195742)

Or you may try this, not sure on this.

1. Log in as an admin to your Discourse site.
2. Navigate to Admin \> Customize \> Themes.
3. Click on the ‘Edit’ button of the theme you’d like to modify or create a new theme.
4. Go to the ‘Javascript’ section.
5. Paste the following code:

> document.addEventListener(‘keydown’, function(e) { // List of key codes or conditions to disable specific shortcuts // For example, disable ‘n’ key for new topic if (e.key === ‘n’) { e.stopImmediatePropagation(); } });

Save the changes and activate the theme.

This might help, but it’s not tested.

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-hide-the-keyboard-shortcuts-button/371778)._
