And it's even available in the page as a link:
<link rel="amphtml" href="http://www.wsj.com/amp/articles/amazon-reports-surge-in-prof...
That's a call for a browser extension!
That's a call for a browser extension!
var ampLink = document.querySelector('link[rel="amphtml"]');
if (ampLink) {
var href = ampLink.getAttribute('href');
if (href) {
location.replace(href, false);
}
}
EDIT: woa! this works really wall ;)Chrome: https://github.com/defunkt/dotjs