Am I missing something? Isn't AMP for google? Now days I see every site switching to it.
Am I missing something? Isn't AMP for google? Now days I see every site switching to it.
The whole standard is designed so that you cannot insert any custom script with access to the page DOM: the closest you can do is insert cross-domain iframes, and even those have weird restrictions (like they must be outside the part of the page that the user can likely see without scrolling)
On the one hand, this trivially solves many of the "obesity" problems as the AMP team can make sure every single allowed script fits their performance requirements. On the other hand, this requires contous engagement by the AMP team, something which would have very questionable implications if AMP would become a web standard.
Google has AMP Facebook has Instant Articles Apple has the Apple News Format
So AMP is Google's version, which is really stripped down HTML to make a page load faster. (Minimize requests, don't block things, etc)
The whole project is open and on GitHub. The easiest example I know off the top of my head is to replace www with amp on Guardian pages. For example https://amp.theguardian.com/world/2016/sep/22/canada-childre... shows how an article differs slightly than its non-AMPed version
In other words, you’re saying Google has powers that only governments should have.