Assigning hard-coded shortcuts

Some shortcuts seem to be hard-coded. For example, even if reassigned to another command, ctrl+r always reloads, shift+ctrlt+i always opens DevTools (even if developer mode is disabled), and so on. Is there an efficient way of assigning shortcuts of this kind, i.e. without them activating their primary command?

Welcome. You may have some luck with custom.js of this form:

document.addEventListener("keydown", (e)=>{
    if (e.ctrlKey && e.code === '...') {
1 Like