diff --git a/background_scripts/all_commands.js b/background_scripts/all_commands.js index 5abab2a16..96fbceea3 100644 --- a/background_scripts/all_commands.js +++ b/background_scripts/all_commands.js @@ -614,6 +614,14 @@ const allCommands = [ noRepeat: true, topFrame: true, }, + + { + name: "noop", + desc: "No-op (do nothing); useful to override/unmap native browser mappings", + group: "misc", + noRepeat: true, + topFrame: true, + }, ]; export { allCommands }; diff --git a/content_scripts/mode_normal.js b/content_scripts/mode_normal.js index eaa649c3f..7359128e8 100644 --- a/content_scripts/mode_normal.js +++ b/content_scripts/mode_normal.js @@ -163,6 +163,9 @@ const NormalModeCommands = { }); }, + noop() { + }, + copyCurrentUrl() { chrome.runtime.sendMessage({ handler: "getCurrentTabUrl" }, function (url) { HUD.copyToClipboard(url);