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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

De-AMP: Cutting out Google and enhancing privacy

853 点作者 w0ts0n大约 3 年前

41 条评论

tentacleuno大约 3 年前
&gt; Second, AMP is bad for security. By design, AMP confuses users about what site they’re interacting with. Users think they’re interacting with the publisher, when in actuality the user is still within Google’s control. User-respecting browsers defend the site as the security and privacy boundary on the web, and systems like AMP intentionally confuse this boundary.<p>They&#x27;ve actually been pushing to confuse that boundary even more since 2019, with their Signed Exchanges specification[0][1]. In essence, when you (unintentionally) visit an AMP page from Google Search, the URL typically starts with google.com&#x2F;amp&#x2F;websiteyouwantedtogoto.com. Signed Exchanges is essentially a way to drop the &quot;google.com&#x2F;amp&#x2F;&quot; bit, as demonstrated by one of the animations on [0].<p>Even Cloudflare supported this and rolled it out on their free tier[2].<p>[0]: <a href="https:&#x2F;&#x2F;developers.google.com&#x2F;search&#x2F;blog&#x2F;2019&#x2F;04&#x2F;instant-loading-amp-pages-from-your-own" rel="nofollow">https:&#x2F;&#x2F;developers.google.com&#x2F;search&#x2F;blog&#x2F;2019&#x2F;04&#x2F;instant-lo...</a><p>[1]: <a href="https:&#x2F;&#x2F;www.theverge.com&#x2F;2019&#x2F;4&#x2F;16&#x2F;18402628&#x2F;google-amp-url-problem-signed-exchange-original-chrome-cloudflare" rel="nofollow">https:&#x2F;&#x2F;www.theverge.com&#x2F;2019&#x2F;4&#x2F;16&#x2F;18402628&#x2F;google-amp-url-p...</a><p>[2]: <a href="https:&#x2F;&#x2F;blog.cloudflare.com&#x2F;announcing-amp-real-url&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.cloudflare.com&#x2F;announcing-amp-real-url&#x2F;</a>
评论 #31088905 未加载
评论 #31088515 未加载
评论 #31091833 未加载
评论 #31089338 未加载
评论 #31094019 未加载
评论 #31108389 未加载
评论 #31090735 未加载
评论 #31090426 未加载
gruturo大约 3 年前
Kudos to Brave - they&#x27;re a sometimes weird actor, but some of their initiatives are commendable, and they often do what Mozilla should have, but didn&#x27;t.<p>I rarely end up in AMP pages on my mobile, but when it happens I immediately feel like I stepped on a turd, and promptly backtrack &#x2F; close the tab before it hijacks my back button, half the screen, standard controls (including doing something weird to scrolling) and other unpleasantries like banners whose &quot;x&quot; somehow overlaps my browser&#x27;s bars, and are therefore out of reach (and said browser bars somehow do NOT autohide when scrolling, unlike on normal pages)<p>Getting AMP results from Google search has been one of the drivers leading me to switch to DDG, so congrats Google, one less customer.
评论 #31086396 未加载
评论 #31090166 未加载
评论 #31086099 未加载
评论 #31088128 未加载
评论 #31088502 未加载
评论 #31090896 未加载
评论 #31086733 未加载
评论 #31086770 未加载
tyingq大约 3 年前
Everything you need to know about AMP is in one very specific section of the spec:<p><i>&quot;AMP HTML documents MUST...contain a &lt;script async src=&quot;<a href="https:&#x2F;&#x2F;cdn.ampproject.org&#x2F;v0.js&quot;&gt;&lt;&#x2F;script&gt;" rel="nofollow">https:&#x2F;&#x2F;cdn.ampproject.org&#x2F;v0.js&quot;&gt;&lt;&#x2F;script&gt;</a> tag inside their head tag&quot;</i> [1]<p>Meaning, <i>&quot;Your content must load and run some Google controlled javascript, that does who-knows-what to your content and end users&quot;</i>.<p>In the past, that&#x27;s included injecting a big header that pushes your content down, hijacking swipe events on your page, an [X] button that looked like it would delete the AMP banner header, but instead navigated away from your page back to google, etc.<p>[1] <a href="https:&#x2F;&#x2F;amp.dev&#x2F;documentation&#x2F;guides-and-tutorials&#x2F;learn&#x2F;spec&#x2F;amphtml&#x2F;" rel="nofollow">https:&#x2F;&#x2F;amp.dev&#x2F;documentation&#x2F;guides-and-tutorials&#x2F;learn&#x2F;spe...</a>
评论 #31090244 未加载
评论 #31098874 未加载
评论 #31092500 未加载
alanh大约 3 年前
Recently I came across the AMP website at <a href="https:&#x2F;&#x2F;amp.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;amp.dev&#x2F;</a> (after some years since first seeing it). It’s really remarkable how much Google wants to pretend this is an industry standard and not their own little fiefdom. I don’t see the word Google anywhere, not even on the About page.
评论 #31086442 未加载
评论 #31088425 未加载
评论 #31087256 未加载
itshossein大约 3 年前
I’m not a fan of Google, and you might hate to hear this:<p>Sometimes here in Iran AMP is a lifesaver for us. Almost every single useful website&#x2F;service is banned here due to government’s mass censorship (unbelievably, including tech news websites, some wikis, some regular Linux repos, tweeter, FB, YouTube, and even DuckDuckGo!) and AMPs might help you visiting a webpage in case your VPN doesn’t work properly.<p>PS: Google services are not filtered here.
评论 #31095066 未加载
rafaelturk大约 3 年前
Kudos! While reading this announcement I&#x27;ve learned upcoming AMP 2.x. Impressive that Google still pusing for AMP and as mentioned is even worse.
fidrelity大约 3 年前
As someone who myself relies on Google&#x27;s SEO traffic I&#x27;m a bit hesitant to say this (but luckily I&#x27;m small enough that Google doesn&#x27;t care about me at all): AMP is terrible for everyone except Google themselves. It&#x27;s a plain abuse of their quasi monopoly and I support everything that fights AMP.<p>Another reason why I&#x27;m happy to use Brave both on desktop and especially on mobile.
fellerts大约 3 年前
I wanted to read the justification for why &quot;AMP harms users&#x27; privacy, security and internet experience&quot;, but the link ironically points to a Google doc for which access is restricted. Is there an open version of this somewhere?
评论 #31085977 未加载
DHPersonal大约 3 年前
If you’re in iOS then there’s an extension available to redirect to non-AMP versions of sites. <a href="https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;amplosion-redirect-amp-links&#x2F;id1585734696" rel="nofollow">https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;amplosion-redirect-amp-links&#x2F;i...</a>
评论 #31087680 未加载
评论 #31087174 未加载
评论 #31087629 未加载
评论 #31090289 未加载
nomilk大约 3 年前
My main gripe with AMP may seem pedantic or even petty, but it&#x27;s the way it messes with the URL. Copying and sharing or saving a URL is fundamental to web, and AMP makes me have to mess around to get that standard URL. It&#x27;s about as small as first world problems get, but it&#x27;s annoying all the same.
评论 #31086005 未加载
评论 #31086050 未加载
评论 #31087765 未加载
评论 #31086161 未加载
评论 #31087764 未加载
评论 #31085981 未加载
评论 #31087274 未加载
评论 #31095219 未加载
fleddr大约 3 年前
Google&#x27;s AMP has to be one of the best examples of how manipulative Google has become towards developers, users, the world.<p>AMP is presented as &quot;the web on a diet&quot;, and AMP&#x27;s speed advantage supposedly achieved by its clever and enforced constraints. Protecting us irresponsible web developers from coding slow pages. Sounds believable, sounds good.<p>Problem is, that&#x27;s not at all the reason AMP is fast. It&#x27;s fast because as you scroll through Google&#x27;s search results on mobile, AMP pages are preloaded as you scroll by them. Then you click one and its instantly there, because it was preloaded.<p>Which is something Google does not do for non-AMP pages, for &quot;privacy reasons&quot;. Which is quite rich when you force users of a publication to consume it via Google in the case of an AMP page. Anyway, this is why an AMP page has a 3-5s head-start compared to any other non-AMP page.<p>As more and more people notice the blatant lie that is AMP &quot;performance&quot;, here comes the next manipulative tactic. They show some vulnerability.<p>&quot;OK OK, maybe this wasn&#x27;t the proper &#x27;standard&#x27; way to do it, but we were in a rush to solve the performance crisis&quot;.<p>The performance &quot;crisis&quot; for which there seems little internal Google consensus, as every single fucking of their own products violate best practices or actively contribute to it (Google tag manager), yet never get a ranking penalty, but I digress.<p>This next part is a stroke of genius. What really happened here is that Google failed to fully trick the user. They want the user to believe they are on domain.abc whilst in reality they are on google.com. They tried all kinds of hacky glitchy methods to conceal reality but could never make it water tight.<p>So by admitting to some error and promising to improve their game, they&#x27;ll now use the standardized approach: signed exchanges.<p>Good guy Google &quot;listened&quot; to criticism by now implementing a standard that allows them to FULLY trick the user, as it&#x27;s built right into the browser. So they&#x27;ll be back.<p>So whenever Google tries to sell something as good (speed, web standards), know how full of deceit they are. The other tactic is &quot;open source&quot;, as if that means anything.<p>You know what the real disappointment is though? The complete lack of regulation. How on earth can a company that is a monopolist in search, browsers, analytics AND advertising do an obvious power grab like this in the open and just fully get away with it, not a care in the world?<p>We need modernized digital regulation, drastically.
评论 #31089409 未加载
igetspam大约 3 年前
As a loyal Firefox user...<p>I may be switching browsers.<p>I&#x27;m mostly happy with Firefox but not entirely. I used brave years ago but wanted to support an open web by supporting competitive software. I&#x27;ve been looking at brave more recently because the web doesn&#x27;t care and Firefox has made some questionable decisions lately (like pocket and suggested results from sponsors and the turning red ad... which is a good movie but a terrible move by Firefox). I use brave on my phone and I&#x27;m pretty happy with it and I hate amp links. This is a compelling change for me.
评论 #31091820 未加载
评论 #31093687 未加载
评论 #31092252 未加载
misterbishop大约 3 年前
AMP is probably the single worst thing Google has produced. But as a Pixel 6 user, I think the real solution to bypassing AMP would have to live at the VPN level. Using Firefox Nightly as my primary browser, I don&#x27;t really get AMP search results. The place I see it is in Google&#x27;s news feed on the right side of the home screen. Brave wouldn&#x27;t solve my problem there, and I already trust Firefox more.
评论 #31089806 未加载
评论 #31086443 未加载
UberFly大约 3 年前
If you run Pi-Hole here&#x27;s the RegEx to add to your blacklist<p>^(.+\.)?amp\..+\.com$<p>^(.+\.)?ampproject\.org$
评论 #31087496 未加载
评论 #31110455 未加载
a5aAqU大约 3 年前
For Firefox:<p><a href="https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;amp2html&#x2F;" rel="nofollow">https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;amp2html&#x2F;</a>
nanidin大约 3 年前
I de-AMP&#x27;d by switching my default mobile search to DDG.
评论 #31086520 未加载
评论 #31087250 未加载
sydthrowaway大约 3 年前
Imagine working at Google on AMP<p>The banality of evil
评论 #31087068 未加载
londons_explore大约 3 年前
Braves business is built on Google Chromes source code...<p>Google has 500+ staff working on that codebase. When they finally annoy Google and they decide to rewrite the license for future versions, will Brave be able to keep up?
评论 #31085978 未加载
评论 #31085702 未加载
评论 #31086264 未加载
评论 #31085662 未加载
sharken大约 3 年前
Main reason to use AMP links is access to content that is otherwise restricted. But I dislike AMP to the extent that I hope more browsers will implement this De-AMP feature.<p>Brave is also fighting another fight with Google, this time with the Brave for Android browser, where Google has decided that all users want to have Tab Groups. The latest status is that users of the Brave browser for Android still can&#x27;t get the old Cascade Layout back yet.<p>More on <a href="https:&#x2F;&#x2F;community.brave.com&#x2F;t&#x2F;add-tab-cascade-layout-back-to-android&#x2F;358153&#x2F;90" rel="nofollow">https:&#x2F;&#x2F;community.brave.com&#x2F;t&#x2F;add-tab-cascade-layout-back-to...</a>
评论 #31094871 未加载
matth3大约 3 年前
I&#x27;ve seen AMP pages really fail for retail sites. I followed this link yesterday and ended up on an AMP page with no way to purchase the item or continue on within the site. No idea if that&#x27;s the site&#x27;s fault or Google&#x27;s but it must be costing them customers.<p><a href="https:&#x2F;&#x2F;www.google.com&#x2F;amp&#x2F;s&#x2F;woodworkersworkshop.co.uk&#x2F;amp&#x2F;veritas-low-angle-smoothing-plane-with-o1-blade&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.google.com&#x2F;amp&#x2F;s&#x2F;woodworkersworkshop.co.uk&#x2F;amp&#x2F;v...</a>
encryptluks2大约 3 年前
Isn&#x27;t it publishers deciding if they want to make an AMP page or not? Also, there is no way to make sure publishers aren&#x27;t harvesting your data. So if a publisher cares about privacy, how about they just don&#x27;t make an AMP page? Seems like common sense and most other people here are complaining over nothing. I don&#x27;t see people here complaining about Cloudflare proxying half the Internet.
评论 #31094499 未加载
halotrope大约 3 年前
On a slight tangent: I am a very happy user of “Amplosion” on iOS. Gets rid of this god-awful AMP bullshit for good. Did not see any AMP “enhanced” page for two years now.<p><a href="https:&#x2F;&#x2F;apps.apple.com&#x2F;de&#x2F;app&#x2F;amplosion-redirect-amp-links&#x2F;id1585734696?l=en" rel="nofollow">https:&#x2F;&#x2F;apps.apple.com&#x2F;de&#x2F;app&#x2F;amplosion-redirect-amp-links&#x2F;i...</a>
评论 #31090320 未加载
perihelions大约 3 年前
How does AMP interact with Brave&#x27;s advertising monetization, BAT?
评论 #31085734 未加载
评论 #31085750 未加载
freediver大约 3 年前
I haven&#x27;t noticed that many AMP pages recently. Is it still a thing and what kind of sites use them?
评论 #31085745 未加载
评论 #31085787 未加载
评论 #31087554 未加载
评论 #31085692 未加载
jarrro大约 3 年前
Out of curiosity: Is AMP behavior consistent across countries?<p>I remember previously that when I was visiting an AMP link (example: <a href="https:&#x2F;&#x2F;www.google.com&#x2F;amp&#x2F;s&#x2F;woodworkersworkshop.co.uk&#x2F;amp&#x2F;veritas-low-angle-smoothing-plane-with-o1-blade&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.google.com&#x2F;amp&#x2F;s&#x2F;woodworkersworkshop.co.uk&#x2F;amp&#x2F;v...</a>) it was taking me to google.com and displaying a bar on top of the page. Right now google&#x27;s servers return HTTP 302 redirection and redirect me to the actual page. I&#x27;m located in Switzerland. Did something change recently?
评论 #31093864 未加载
rubyist5eva大约 3 年前
Switched to Brave a few weeks ago after getting fed up with Mozilla, not sure how I feel about using yet-another-chromium browser but it’s fine so far. Posts like this help ease my mind a bit at least.
ocdtrekkie大约 3 年前
I&#x27;m really impressed to see this, Mozilla should&#x27;ve led here on implementing something like this years ago. This is a pretty big nudge for me to consider Brave as a future browser.
评论 #31085836 未加载
评论 #31085583 未加载
评论 #31085786 未加载
评论 #31085888 未加载
stakkur大约 3 年前
This is great. I believe Firefox does this already, and you can do it on Safari via extension&#x2F;plugin (Amplosion, Overamped).
评论 #31086731 未加载
knodi大约 3 年前
I fucking hate APM. As firefox iOS user I can&#x27;t seem to get rid of it.
评论 #31088842 未加载
shadowgovt大约 3 年前
Honestly, this is win-win and I applaud Brave for taking on this engineering task.<p>- Users who are concerned about AMP can use Brave to bypass Google&#x27;s infrastructure<p>- Users for whom AMP is a benefit can continue to use it<p>- Everybody wins
评论 #31086418 未加载
评论 #31086171 未加载
codalan大约 3 年前
Right on. Hopefully this feature is added to Vivaldi Mobile, too.
disadvantage大约 3 年前
It&#x27;s easy to slag AMP because it&#x27;s Google, and privacy-aware people really don&#x27;t like Google and denounce all their actions without even thinking. But on the other hand: what if AMP is actually a good thing? Like if it speeds up the web and addresses web obesity, why not embrace it?
评论 #31086753 未加载
评论 #31086973 未加载
评论 #31086735 未加载
Vladimof大约 3 年前
I thought that Google finally gave up on AMP... I guess not
NaturalPhallacy大约 3 年前
AMP is just the 2022 version of iFrames.
BuckRogers大约 3 年前
While I moved to Edge after 19 years on Firefox and I&#x27;m happy with it, for me it&#x27;s clear that Brave is the new Firefox.
Trias11大约 3 年前
Brave is my default browser.
anticristi大约 3 年前
I wonder that the EU commission hasn&#x27;t used GDPR or some anti-conpetition law to ban AMP in the EU.
评论 #31088077 未加载
mdoms大约 3 年前
I didn&#x27;t realise AMP still exists. It definitely seems to be less relevant today, I hardly ever find myself on AMP pages anymore. I assumed Google had killed it.
gundmc大约 3 年前
I don&#x27;t remember coming across many AMP pages recently. Since Google stopped favoring AMP in the search results the other year, it seemed like AMP was dying off. Is this feature even still relevant in 2022?
skybrian大约 3 年前
Isn&#x27;t this going to make mobile performance worse? They should publish performance numbers.
评论 #31085925 未加载
silicon2401大约 3 年前
For some reason, I got this idea at some point that brave has a built in crypto miner as its form of monetization. Can anyone confirm if that&#x27;s true or not? A browser cutting out amp sounds like exactly the kind of browser I want<p>Edit: not sure why I got downvoted. I&#x27;m asking a genuine question because I&#x27;m always looking for google alternatives, and firefox has been disappointing lately.
评论 #31086207 未加载
评论 #31086136 未加载
评论 #31086154 未加载