2 ms·
We have a thing in Tridactyl for this, actually ("blacklistkeys" if you're a user). You roll your own by writing a userscript (e.g. Tampermonkey) that adds an
by bovine3dom 7y ago
We have a thing in Tridactyl for this, actually ("blacklistkeys" if you're a user).
You roll your own by writing a userscript (e.g. Tampermonkey) that adds an event listener to keydown which runs key.cancelBubble = true and key.stopPropagation(). See line 343 https://github.com/tridactyl/tridactyl/blob/master/src/content.ts https://github.com/tridactyl/tridactyl/blob/master/src/conte... (starts "leavegithubalone").