Live data from Hacker News

How to fight back against Google AMP as a web user and a web developer

markosaric.com

381–390 of 570 posts

Re: How to fight back against Google AMP as a web user and a web developer

#381

Earlier quoted context omitted.

Welppp, that's a sad chart. Though I really doubt Firefox's drop in market-share is that tied to performance. The story is more likely to be Chrome/Chromium as the default on Android, the release of Chromebooks, etc. Of course, this is just me interpreting facts with my feel good opinion. Back to the main point at hand, though, Firefox is obviously not doing well today either according to that chart. But its performa…

performance, yes, dev tools are lacking all the listed features historically speaking, Chrome got the share it got because Firefox was a memory hog and was running a purely interpreted JavaScript engine on top of a single threaded rendering engine in a time where core numbers and web app were becoming mainstream.

Hm, touché! That lines up with the timeline, though I still think Chrome's _sustained_ and _stark_ uptick in market share is due to their market dominance in every field of one's digital life.

I must admit that I've never used those missing dev tools in Chrome, as those issues are non-existent in a webpack environment (that's essentially what workspace mounting and hot code reloading is mirroring). And the search function works with all files, including inline code, as of Quantum as well.

Re: How to fight back against Google AMP as a web user and a web developer

#382

Earlier quoted context omitted.

amp-ads moves those ads/trackers in iframes, but that doesn't reduce the code size, right? google is also injecting code in your site , so you can't be sure that it's secure / private, right? And if i promise to make all ads async and iframe, will google promise to rank my site higher? If not , they are discriminating in favor of their own walled garden system without an objective ruse.

really? adsense forbids use of iframes afaik

Many ads are served via iframes

https://support.google.com/admanager/answer/183282

Re: How to fight back against Google AMP as a web user and a web developer

#383

Earlier quoted context omitted.

I’m just annoyed at my links being hijacked. When I click a link, my intention is to visit someone’s page, not to view it through some sort of creepy iframe. When I go to share a link, why is it a google link instead of the newspaper? Why do I have to spend a minute or two hunting for the real one in the ugly ui?

Publishers who implement Signed Exchanges get AMP links directly to their site with no iframe viewer on browsers that support the technology: https://amp.dev/documentation/guides-and-tutorials/optimize-... https://github.com/WICG/webpackage/blob/master/explainer.md

Is “browsers that support the technology” interchangeable with “Google chrome”?

Re: How to fight back against Google AMP as a web user and a web developer

#384

Earlier quoted context omitted.

> Can they just penalize slow/large file size sites in their index? Well, that would be bad for the independent web, wouldn't it? I mean, you'd be penalising sites with large amounts of content, that aren't on a CDN. Large images or videos, for example, might be the entire point of the page in the first place. I don't want to be directed to to a webpage about an artist (for example) that has the crappiest, smallest a…

The reason Google has penalties for page weight and loading time is that they have extensive user research on customer behavior related to loading time. If a flat page studded with a few dozen giant PNG’s takes a minute to load, most people are going to click the back button. It’s worth spending some time optimizing your landing page so that it loads fast and renders cleanly on mobile, if you want people to see your…

> The reason Google has penalties for page weight and loading time is that they have extensive user research on customer behavior related to loading time. If a flat page studded with a few dozen giant PNG’s takes a minute to load, most people are going to click the back button.

Why is then basically every single page created by Google is a bloated monstrosity with multi-megabyte Pangs routinely embedded in them and loading megabytes of shitty JS?

Re: How to fight back against Google AMP as a web user and a web developer

#385
post #349
post #327

Earlier quoted context omitted.

> They load massively faster than normal sites, especially on poor mobile connections where main sites sometimes hang indefinitely trying to load javascript, ads, etc. Have you tried the normal mobile websites with an adblocker?

Normal people don’t know how to do that

Normal people know how to use Firefox which has it built-in.

Re: How to fight back against Google AMP as a web user and a web developer

#386

Earlier quoted context omitted.

It strengthens googles control over the web.

In what way though? Like that's super generic and not particularly meaningful without a more concrete explanation.

Traffic never leaving Google's servers seems pretty concrete.

Re: How to fight back against Google AMP as a web user and a web developer

#387

Earlier quoted context omitted.

It's a little more complex than that: If you disable all js, there is no delay. If you specifically block amp js, there is a delay. There could certainly be a shady reason for this, but the justification makes sense: one of the goals of AMP is to have, basically, a single, correct, initial paint. That's why images are statically sized and amp sticks placeholders there until the real images load. The js delay exists t…

The delay is css based not js based, so why would blocking all js affect it?

If you tell the browser to disable execution of all tags, it will instead evaluate the tag which contains some additional CSS that disables the animation.

Re: How to fight back against Google AMP as a web user and a web developer

#388

My experience with AMP, immediately before seeing this article: 1. On desktop, I clicked through a link on Facebook, leading to an AMP page 2. The page was clearly meant for mobile, and looked bad on desktop; the images were full-screen size, the font was too big, and the text line length went all the way to the edges of my very wide browser window. 3. I used Ctrl+Minus to adjust the zoom, which fixed the font size b…

Every valid AMP page includes a to the canonical URL for the document. If the aggregator (facebook in this case) parsed and linked to the canonical as the publisher recommends via this annotation, you would get the version the publisher preferred. This is how browser extensions that rewrite to the non-amp version work, they extract this URL. The AMP viewer iframe share button (and share intents) all share this canoni…

Hello, gregablr, who works for AMP and forgets to disclose it.

No, it's not Facebook's, or the browser's, or the user's fault. It's strictly and only Google's fault. You (as in "You, Google" and "You, personally, as a member of the AMP team") broke the most basic functionality of the web and go out of your way to justify this behavior.

Re: How to fight back against Google AMP as a web user and a web developer

#389

Earlier quoted context omitted.

Install a content blocker, and the original site sans bullshit is the best experience. Ironically the amp page is artificially slow when blocking amp’s JS because they force an 8 second delay - via required boilerplate css - before content is visible.

You misunderstand the 8 second CSS animation in the AMP boilerplate. Here's the code (simplified): body { animation:-amp-start 8s steps(1,end) 0s 1 normal both} @keyframes -amp-start{from{visibility:hidden}to{visibility:visible}} body{animation:none} See the noscript section: if javascript is disabled, the CSS displays the body immediately. If Javascript is enabled, but for some reason the AMP javascript fails to loa…

This will hit a lot of people on the web today that have given up on a blanket block on JS (because a lot of pure text content simply fails to render without JS, yaaaaay) but do have a blanket blacklist on JS assets and whitelist requests on a need basis.

Re: How to fight back against Google AMP as a web user and a web developer

#390
post #198

As a user, AMP gives me a better experience than non-AMP search results. It's a tough sell to tell people like me that I should prefer the worse product (the slow, tracking infested, bloated full website).

As an iPhone user I find AMP to be painfully buggy. Rotation doesn't work properly, the URL bar doesn't hide properly, reader mode is routinely broken, pinch to zoom doesn't work, etc. I wish I could disable it.
Post reply on HN