List of Chrome keyboard shortcuts that you CANNOT override with Javascript?

白昼怎懂夜的黑 提交于 2021-02-06 10:21:48

问题


You can preventDefault() on Chrome shortcuts with Javascript, but you can't do it with all of them.

Ctrl + S and Ctrl + F you can override.

Ctrl + W you cannot. This makes sense.

Ctrl + L though I was surprised to find you also cannot override though.

Is there a comprehensive list of overridable vs non-overridable Chrome shortcuts? If so, I cannot find it.

来源:https://stackoverflow.com/questions/44998250/list-of-chrome-keyboard-shortcuts-that-you-cannot-override-with-javascript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!