TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why is spacebar broken on some of the websites?

7 点作者 ankit84大约 12 年前
Yes, I still use spacebar to scroll, and feel frustrated when on some websites it is broken. Why is that?<p>* Is it responsive website design in CSS?<p>(i use FF20)

2 条评论

groue大约 12 年前
Because some people don't use the spacebar for themselves, or use a browser that doesn't support spacebar page-down scrolling, and think shortcuts are smart. For them it's OK to experiment and remap a key to some feature, even though only them are aware of it, and most other people won't see it and won't use it, or will get bitten as you are.<p>Tumblr is a a particular nest of this kind of websites.<p>That's unfortunate, and funny at the same time. Internet is also a playground, a sand box, a place to learn.<p>Best you can do is contact them, and teach them a polite UX lesson.
malandrew大约 12 年前
probably:<p><pre><code> if (event.type === 'keypress') { event.preventDefault(); doSomethingElse(); }</code></pre>
评论 #5707284 未加载