告知 HN:Google 搜索将在搜索结果中使用不透明的重定向 URL
4 分•作者: exploraz•大约 1 个月前
最近几个月,我注意到谷歌搜索开始在我的未登录无痕浏览会话中随机地将 `/url?q=<编码后的URL>` 链接替换为更不透明的链接 (`/goto?url=<内部标识符>`)(这表明正在进行 A/B 测试)。
旧的链接(带有 `/url?sa=...q=...` 的中间链接)要么在页面加载后立即出现,要么在鼠标悬停在锚点/链接上后出现(可以通过扩展程序阻止),要么根本不被重写(也许是因为支持了所谓的“锚点 ping”功能)。该 URL 可以很容易地手动(使用 URLCheck 或 ClearURLs 等工具)或自动(使用 ClearURLs,或者可能是广告拦截器或其他隐私扩展程序)解码为预期的目标。
新的链接 (`/goto?url=`) 似乎包含一些看似随机的 base64 编码字节,我无法弄清楚如何将其解码回(可能是一个内部标识符而不是嵌入的 URL),除非亲自访问该链接。
我怀疑他们这样做是为了更可靠地跟踪用户,或者为了缓解搜索结果页面抓取。
你怎么看?
查看原文
Recently, for a couple of months, I noticed that Google Search began to replace its /url?q=<encoded url> links into a more opaque one (/goto?url=<internal identifier>) randomly (indication of A/B testing) on my logged-out private browsing sessions.<p>The old one (intermediate link with /url?sa=...q=...) will either be presented immediately after loading the page, or after the mouse has been held down at the anchor/link (can be prevented by extensions), or not rewritten at all (maybe if something called the "anchor ping" feature is supported). The URL can be easily decoded to the intended destination, either manually (with things like URLCheck or ClearURLs), or automatically (ClearURLs, or maybe adblockers or other privacy extensions)<p>The newer one (/goto?url=) seems to include a seemingly random base64-encoded bytes, which I can't figure out on how to decode it back (might be an internal identifier instead of an embedded URL), except by visiting the link itself.<p>I suspect that they are doing this to track users more reliably, or to mitigate search results page scrapers.<p>What are your thoughts?