What are some solutions/ approaches for for overwriting pre-available shortcuts of a specified website? Found keyboard-maestro for mac, not sure if this possible. Let's say you want overwrite some pre-available keyboard shortcut of youtube.com, what should/can we do ? for example, whenever, my chrome current tab is in youtube.com/*, we need to use d(key) to trigger l(key), a(key) to trigger j(key) and s(key) to trigger k(key), (just an example, I use the default one on youtube) since some sites with some hotkeys are confusing.
But Keyboard Maestro can generally intercept keystrokes and do something else with them.
Substituting Keystrokes.kmmacros (1.9 KB)
This becomes quite problematic though when you forget it's active and typing “D” in a context other than a YouTube vid produces “J”.
The way I get around this myself is to use a secondary group for Safari of 1-Key triggered items that ONLY works when its palette is displayed like so:
So I have a visual reminder that my 1-Key items are active.
Here's how you build such a group:
NOTE – Some of these won't work on your system.
You could copy the URL to the clipboard - Cmd+L followed by Cmd+C - and then test its value (all in the macro). Then pop up an appopriate palette.
Just a thought on how to get more definition.