Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以使用Javascript来获取系统的双击间隔吗?
JavaScript 没有办法检索这种类型的系统信息。
您可能能够使用 onclick 和 onddblclick 找出一些奇怪的点击测试来获得它,但我怀疑它是否准确并且需要用户交互。
使用纯 JavaScript,而不是要求用户帮助您?不