Extreme browsing speed with automatic AMP page redirect

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
hostblocker

Extreme browsing speed with automatic AMP page redirect

Unread post by hostblocker » 2018-09-23, 15:14

There is a HTML standard called AMP for significant faster website rendering.
Example
https://edition.cnn.com/2018/09/19/health/woman-rides-bike-183-mph-trnd/index.html
AMP version
https://amp.cnn.com/cnn/2018/09/19/health/woman-rides-bike-183-mph-trnd/index.html

If you check the HTML source of the example page, you find a tag “amphtml” pointing the the faster pager.

There is a Firefox “AMP Browser Extension” extension, doing an automatic redirect
https://addons.mozilla.org/de/firefox/addon/amp-browser/
but it is “too new” vor Pale Moon.
Would be great if Pale Moon would do this redirect natively.

yami_

Re: Extreme browsing speed with automatic AMP page redirect

Unread post by yami_ » 2018-09-23, 19:27

IIRC this was designed for mobile phones, because creating a custom HTML5-based markup language and making it display correctly by reinterpreting the web page using JavaScript is the right way to fix limited processing power of mobile devices... Also it will be faster than a normal web page only if you live near one of the AMP cache server.

User avatar
Isengrim
Board Warrior
Board Warrior
Posts: 1325
Joined: 2015-09-08, 22:54
Location: 127.0.0.1
Contact:

Re: Extreme browsing speed with automatic AMP page redirect

Unread post by Isengrim » 2018-09-24, 00:47

AMP isn't exactly a standard, it's a Google-made-and-sponsored technology for, as yami_ put it, faster rendering on mobile devices. It's probably doable enough to make something like this with a userscript or XUL extension.

If you're looking for ways to view news articles with less clutter, there are other solutions, such as adblockers, or (incoming shameless self-plugging) the Reader View extension.
a.k.a. Ascrod
Linux Mint 19.3 Cinnamon (64-bit), Debian Bullseye (64-bit), Windows 7 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35475
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Extreme browsing speed with automatic AMP page redirect

Unread post by Moonchild » 2018-09-24, 08:20

So what exactly is the suggestion or feature request here?

We're already aware of AMP which is no different than mobile-specific versions of web pages, only differing in how they are created. It's not designed for desktop use as already pointed out, and favoring it for a desktop user is not the right thing to do, so... ?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked