Hacker News 中文摘要

RSS订阅

在 Chrome 中使用 Google 登录 -- Sign in with Google in Chrome

文章摘要

许多网站在访问时会显示“使用Google登录”的横幅,但在Google Chrome中不会出现。通过Safari的开发者设置,可以模拟Chrome的用户代理,从而在Safari中隐藏这些横幅。虽然Chrome避免了这些横幅,但Google的浏览器仍有其他问题。

文章总结

标题:在Chrome中使用Google登录

来源:Underpass App Company新闻 发布时间:2025年7月28日

许多网站,如Yelp,在用户访问时会显示一个烦人的“使用Google登录”横幅。这是Google所谓的“一键登录用户体验”。幸运的是,我的浏览器扩展程序StopTheMadness Pro可以隐藏这些横幅。

如果你使用Safari或Firefox,你可能没有意识到,这些横幅在Google Chrome中从未显示过!你可以在macOS Safari中通过伪装Chrome的User-Agent头来验证这一点。在Safari的高级设置中,启用“显示Web开发者功能”选项,这会在Safari的主菜单栏中添加一个“开发”菜单。该菜单包含一个User Agent子菜单,列出了多个浏览器。当你从列表中选择Google Chrome并加载Yelp时,“使用Google登录”横幅将不再出现在Safari中。

尽管Chrome避免了“使用Google登录”横幅,但Google的浏览器仍然有其自定义的烦人功能。如果你在访问Yelp等参与网站时已经登录了Google账户,Chrome会显示一个“一键登录”对话框。这个对话框与Safari和Firefox中的“使用Google登录”横幅有几个重要区别。首先,Chrome对话框不是网页元素,而是Chrome原生应用用户界面的一部分。因此,StopTheMadness Pro无法隐藏该对话框。实际上,当Chrome显示该对话框时,它会阻止所有Chrome扩展程序的弹出窗口出现。选择扩展工具栏中的扩展程序没有任何反应。

第二个区别是,Chrome对话框可以在Chrome的设置中禁用。在地址栏中输入chrome://settings/content/federatedIdentityApi,直接访问该设置。选择“阻止来自身份服务的登录提示”以停止在Chrome中显示这些对话框。

如果法院和反垄断监管机构正在阅读——他们可能不会读我的博客,但人们可以梦想——这是Google在其浏览器Chrome上优于其他浏览器的又一个例子。

评论总结

评论内容主要围绕“使用Google登录”弹窗的体验、隐私问题及其技术背景展开,观点分为支持、反对和中立三类。

支持观点: 1. 功能实用性:部分用户认为该功能在某些情况下确实有用,尤其是在登录问题频发时,Chrome的自动登录功能解决了问题。 - 引用:“I actually needed that button the other day... At some point Chrome offered to sign-in for me, and that worked.”(评论1) - 引用:“Sign in with Google” is annoying, but at least you can turn it off with chrome://settings/content/federatedIdentityApi(评论7)

反对观点: 1. 隐私与信任问题:许多用户认为该弹窗侵犯隐私,尤其是在未经授权的情况下将个人信息发送给第三方。 - 引用:“This popup should be criminal... causing PII to be sent to a third party I dont trust without my authorization.”(评论2) - 引用:“Except Google can now track you, with a confirmed ID and session cookie across all these sites.”(评论3) 2. 用户体验差:用户普遍认为弹窗干扰浏览体验,尤其是在覆盖内容或频繁出现时。 - 引用:“That Google popups are so annoying, they often cover the content...”(评论5) - 引用:“First, ‘Accept all cookies’, and now this. The competition for the worst web UX is heating up.”(评论12)

中立观点: 1. 技术背景与标准:部分用户提到该功能基于FedCM(联邦凭证管理)标准,虽然标准开放,但实际可能加剧Google的垄断。 - 引用:“The Chrome experience is actually part of a new standard, Federated Credential Management...”(评论9) - 引用:“While this seems like an open play on the surface... in practice this is a highly anti-competitive...”(评论14) 2. 解决方案:用户提供了多种屏蔽或关闭弹窗的方法,如使用浏览器设置或广告拦截工具。 - 引用:“UBO rule to block that. Or enable the ‘annoyances’ list.”(评论6) - 引用:“You can turn this off... https://myaccount.google.com/connections/settings”(评论11)

总结:评论中既有用户认可该功能的实用性,也有大量批评其隐私侵犯和用户体验差的问题。同时,部分用户从技术角度分析了其背后的标准,并提供了屏蔽或关闭弹窗的解决方案。