shortcutShield icon

shortcutShield

Extension Actions

CRX ID
fnfkpljiaklhbofflpmgiljajgpnanjl
Description from extension meta

Block keyboard shortcuts on specific pages or execute custom scripts

Image from store
shortcutShield
Description from store

A Chrome Manifest V3 extension that lets you block default keyboard shortcut behaviors (Do-Nothing), run user-defined JavaScript (Custom Script), and prevent accidental rapid Enter submissions (Delay Enter).

Github: https://github.com/96-kdh/shortcut-shield

🎯 Usage

👉 Do-Nothing Rule
1. Open the Do Nothing tab
2. Click + New Command and press your shortcut
3. Enter a URL pattern (must start with http:// or https://)
4. Click Save
🔒 Registered shortcuts will be blocked on matching pages.

👉 Custom Script Rule
1. Open the Custom tab
2. Click + New Command and press your shortcut
3. Enter a URL pattern
4. Write your JS snippet in the code editor
5. (Optional) Add a description, then click Save
⚡ Priority Command: Custom Script > Do Nothing

// Example 1: Log the page title
console.log(`Title: ${document.title}`);
// Example 2: Scroll to top smoothly
window.scrollTo({ top: 0, behavior: 'smooth' });

👉 Delay Enter
1. Open the Extension tab
2. Toggle the switch next to Enter
⏱️ Ignores Enter if pressed within 500ms of the previous key.