Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, this doesn’t say anything about sync vs async.


The parent / op literally says they will load AMP with ads and trackers "just as they do in their regular sites."

So we are very clear, regular HTML websites allow sync javascript and cross site / full dom access etc by trackers and ad platforms. Sync is preferred for a few reasons by ad providers. Lots of regular sites have sync javascript.

On AMP, total javascript size is limited, dom interactions are limited (ie, you can repaint the screen repeatedly with the flyover crap etc) and sync is prohibited and the script generally runs in a sandboxed iframe with a separate web worker.

So I'm not putting words in anyone's mouth, I quotes them exactly, and am pointing out that despite their false claim that you can run same things in AMP you do on regular site - you cannot.

People claiming that AMP is only faster because of preload, that publishers can abuse the user as much as they do with full HTML, that javascript works just as it does on their regular site are lying.

Is AMP perfect? No - folks will always be able to abuse things, but it cuts down on a bunch of common and egregious abuses.

I wonder if part of the issue is some folks here browse with ad-block or other extensions and so don't really experience the web as publishers intend it - because the differences between AMP and non AMP sites is glaring (ignoring the preload question).


Sorry, none of this matters. You are still putting words in OPs mouth. You should apologize for doing that and simultaneously saying they made a false claim.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: