Web应用程序的可用键盘快捷键 [英] Available Keyboard Shortcuts for Web Applications

查看:174
本文介绍了Web应用程序的可用键盘快捷键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个web应用程序,我想添加一些键盘快捷键。像Ctrl-N或Ctrl-Space。但是,不要要使用浏览器已经使用的键盘快捷键。



例如,在OS X的Google Chrome中使用Ctrl-Space快捷键是好的,但是在OS X的Firefox中,它会在浏览器中显示一个右键菜单。




是否有已知的用于Web应用程序的安全(或不安全)的跨浏览器/操作系统键盘快捷键列表?如果您只需要知道标准的浏览器键盘快捷方式,就会列出这里

单独的浏览器快捷键列表:




  • Internet Explorer的快捷键可以在这里。 (只需按显示所有)

  • Firefox的此处。 (向下滚动)
  • 谷歌浏览器 here

  • Safari的 here /help.opera.com/Linux/9.01/en/keyboard.html\">这里。


    我发现这个比较表丑陋,但是非常有用。


    I'm working on a web application and I'd like to add some keyboard shortcuts. Things like Ctrl-N, or Ctrl-Space. However, I do not want to use a keyboard shortcut that's already used by the browser.

    For example, using the Ctrl-Space shortcut in Google Chrome on OS X is fine, but in Firefox on OS X it brings up a right-click menu in the browser.

    Is there a known list of cross browser/OS keyboard shortcuts that are safe (or unsafe) to use for web applications?

    解决方案

    If you need to know only standard browser keyboard shortcuts, they are listed here.

    Separate browser's shortcuts lists:

    • Internet Explorer's shortcuts can be found here. (just press "Show all")

    • Firefox's here. (scroll down a bit)

    • Google Chrome's here.

    • Safari's here.

    • Opera's here.

    And I find this comparison table ugly, but very useful.

    这篇关于Web应用程序的可用键盘快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆