How to disable developer shortcuts?

Hi,

Is there a way to disable the shortcuts x+x+x+h and x+x+x+a on the entire wiki? I don’t want users to be able to enable viewing hidden info for themselves.

Alan

Hi, see https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/KeyboardShortcuts#HRemovingkeyboardshortcuts

Thanks

1 Like

Where would I put that to have it affect the whole wiki?

Hi,

It seems like both shortcut.remove("x+x+x+a"); shortcut.remove("x x x a"); does not work when I added it to a page. Still not sure how these sequence combos are registered and how to remove them.

Alan