I'd like to define a single key shortcut (F1-F12) to activate one of my extensions.
However, the browser allows only two key shortcuts, with the Ctrl or Alt modifier keys.
Single key shortcuts for extensions
- catsxp
- 网站管理员
- 帖子: 3768
- 注册时间: 2022年 12月 26日 17:41
Re: Single key shortcuts for extensions
Single keys have a high probability of accidental triggering and also conflict with system keys
-
- 帖子: 91
- 注册时间: 2023年 10月 26日 21:15
- 来自: Czech Republic
Re: Single key shortcuts for extensions
I personally use only single keys for shortcuts.
My setup:
F1 focus URL bar
F2 new tab
F3 search
F4 search next
F5 reload
F6 reload without cache
F10 dev tools
I was wondering if there exists a built-in shortcut to run specific javascript code, but did not find anything.
I have a JS that inverts the page (like dark mode), and would like to assign a single key shortcut for it... Clicking a bookmarklet by mouse is not as convenient.
My setup:
F1 focus URL bar
F2 new tab
F3 search
F4 search next
F5 reload
F6 reload without cache
F10 dev tools
I was wondering if there exists a built-in shortcut to run specific javascript code, but did not find anything.
I have a JS that inverts the page (like dark mode), and would like to assign a single key shortcut for it... Clicking a bookmarklet by mouse is not as convenient.
- catsxp
- 网站管理员
- 帖子: 3768
- 注册时间: 2022年 12月 26日 17:41
Re: Single key shortcuts for extensions
catsxp://settings/accelerator/shortcuts
Cancel the settings first, and then set the desired shortcut functions
It is not recommended to modify the default settings
Cancel the settings first, and then set the desired shortcut functions
It is not recommended to modify the default settings