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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Hijacking the browser's default behavior is a dick move

39 点作者 jhabdas超过 4 年前

7 条评论

xellisx超过 4 年前
Yeah, I expect my browser to go backwards when I click back to another site, not be directed to another page on that domain. Also Pinterest hijacks the share function finch of Chrome on Android and will share a link to a main page of sorts.
评论 #25605355 未加载
Lammy超过 4 年前
See also: sites that bind the forward-slash (/) key to their own search box instead of letting it fall through to the standard browser Find In Page behavior.
评论 #25605411 未加载
评论 #25605885 未加载
phkahler超过 4 年前
Making the browser behavior accessible to web sites is a design error.
nej_simon超过 4 年前
The committer is confusing two different things here.<p>If you edit your browser setting regarding smooth scrolling you set what happens when you scroll on your input device, i.e. touchpad, mouse wheel or whatever.<p>If you as a website developer set the `scroll-behaviour` css property you control what happens when the browser changes scroll position for ex. if you programatically change the focus.
jackewiehose超过 4 年前
I just had to reinstall Firefox Mobile (clearing all settings) and then I wasn&#x27;t able to zoom on a lot of websites. Fortunately FF has an option for that but I wonder why there needs to be such an option. Why would a website-maker decide it&#x27;s better when I&#x27;m not able to zoom on their website and why can they do that at all?
daenz超过 4 年前
This is flamebait.
nickthemagicman超过 4 年前
Would an SPA be considered hijacking the fundamental nature of what the web was intended to be?
评论 #25605302 未加载