Exclusive: Bypass AMP Links with DeAMPify by João Dias How To Install Android...

 
 
 
Exclusive: Bypass AMP Links with DeAMPify by João Dias How To Install Android...

 
xda-developers
Jul 21, 2017 7:45 PM • by Mishaal Rahman
Exclusive: Bypass AMP Links with DeAMPify by João Dias

Back in late 2015, Google introduced the Accelerated Mobile Pages (AMP) Project to revolutionize the speed at which mobile web users consume web content. Since then, numerous web outlets (including our very own Portal) have incorporated AMP so that users on limited or slower data connections can quickly access their content. While some people have qualms with the way Google is pushing AMP on publishers, others lament the forcing of this new standard onto their mobile devices. For those users on fast connections, loading an AMP page versus the original page shows no significant difference in speed, but still results in less content being displayed on screen. However, unless the particular mobile app you were using has an option to disable loading a page in its AMP version, the only way to retrieve the original URL is to manually do so – adding 2 extra taps. Thanks to an idea I pitched to the AutoApps developer, João Dias, there's finally a way to completely bypass AMP links.

The app is called DeAMPify and it is really, really fast at its job. Here is a sample screen recording I made. Note how short the time is between when I tap on DeAMPify to open the URL and how long after the original URL is opened in the browser.


How it works

The application registers itself as the default URL handler for AMP-style URLs. When the user chooses to open a link in DeAMPify (or selects it as the default handler, bypassing the dialog), the application scrapes the HTML source code of the AMP page to look for the original URL of the article. Once it finds the original URL, it takes that URL and passes it along to the default browser app. The process is very, very fast even though technically you are still downloading the HTML source of the AMP page, but on fast enough connections it makes little to no difference as the AMP pages are relatively tiny amounts of data to parse. To the end user, though, the result is that AMP links are completely bypassed and instead opened in the default app for that URL, whether it be your browser or another app such as the official Reddit app or XDA Labs.

In a little more detail, the app is specifically scraping the AMP page for the "canonical" (original) document by looking for the HTML link tag as such:

<link rel="canonical" href="https://www.example.com/url/to/canonical/document.html">

Every AMP page has this exact tag embedded in its HTML source as a part of the official specification. This is what allows AMP pages to detect and show the end user the original URL in the first place, but we can take advantage of this embedded link to bypass the need to ever show the user the mobile-optimized page. This method beats every other redirection tool we've found online, which simply attempted to retrieve the original content URL by performing a regex operation on the AMP URL. Since there's no consistent URL scheme for AMP pages, that method would fail for many, many odd pages. But this won't.

One caveat that we discovered when making this app is that the canonical link is not embedded in the HTML source when the source is retrieved through a mobile user agent, so instead DeAMPify operates as a desktop browser user agent. This is not something that ever makes a difference to the end user (you), but it's interesting to note for anyone wondering how this app works.


Bypass AMP Links with DeAMPify

On to the actual app itself. DeAMPify does a tad bit more than just bypass AMP links. I mean, that's 95% of what the app is there for, but it wouldn't be fun if it only did that, no? To make the app a bit more useful, Mr. Dias added a few extra features to the app (although to access them, both require an in-app purchase):

  • URL Exceptions: blacklist URLs which you always want to open the AMP page for, can use regex for this operation
  • Tasker integration: choose when the bypass AMP service is running

The Tasker integration is the part that I'm sure many users would find useful, as with this you can automatically bypass AMP links only when connected to your home WiFi, for instance. The URL exceptions can be useful if there's one or two particular sites that you always want to load AMP links for, but personally I haven't really been using that feature.

DeAMPify is now available for beta testing in the Google Play Store. You'll have to join Mr. Dias's Tasker Plugins Google+ group in order to access the beta test, however. Once the app has been tested by more users than just myself, it should become available more broadly – though I can't speak for when that will be. Still, for those users who have hated the expansion of AMP pages everywhere on the web, you finally have a solution to say no to AMP. DeAMPify your web today!


Promo Codes

Mr. Dias has generously offered to give away a handful of promotional codes to unlock the pro version of DeAMPify. Leave a comment below with a link to your XDA-Developers forum profile and you may be randomly selected to receive a promotional code through a private message on the forums! Be sure to check your private messages for the code!




Android Advices
Jul 21, 2017 4:46 PM • by Karthik Iyer
How To Install Android Nougat Based 5.8.3 Resurrection Remix ROM On Coolpad Note 3 Plus Smartphone

The Chinese smartphone manufacturer Coolpad launched the Coolpad Note 3 Plus smartphone a couple of years back. At the time of the launch, it was one of the most popular smartphones that Coolpad had launched since it had some really good set of internals for the price at which it was being offered at. However, if you own this smartphone, then you already know the software that it runs, is not all that great. It is heavily skinned and has a lot of bloatware as well, which makes it a not so pleasant experience.

However, there is not a lot that you can do, other than flashing a third party custom ROM. There are a ton of options available for that in the market. Well, if you are wondering how to do it, then you are in the right place. Today we will show you exactly how To Install Android Nougat Based 5.8.3 Resurrection Remix ROM On Coolpad Note 3 Plus Smartphone.

About the ROM

Below are some of the working features of the smartphone on this ROM –

  • Camera rear/front (Photographs)
  • Camera rear/front (Video – Use Camu from Play Store)
  • Auto brightness.
  • Fingerprint.
  • Bluetooth, Mic, Wi-Fi, GPS, IR
  • Hotspot
  • RIL

Now that it is out of the way, let's check out some of the requirements that are necessary for the installation. Below are some of the pre-requisite for the same –

Pre-requisite

  • The first thing which you need to make sure is that you are creating a complete backup of your files. Since we will be completely wiping the internal memory of the phone, you will end up loosing all your files.
  • You also need to make sure that you are installing a custom recovery software. You can install any of your choices, however, we suggest you go for TWRP for this installation.
  • You also need to make sure that the battery in the tablet has about 60-percent charge before you begin the installation. If your smartphone's battery dies during the installation, then you may end up with a completely bricked smartphone.
  • And lastly it is also necessary to make sure that you have downloaded the firmware file which is necessary for the installation. Without this file, you won't be able to proceed with the installation and hence we suggest you download the same from the link given below.

Download Resurrection Remix ROM For Coolpad Note 3 Plus

Installation

  1. Assuming that you have downloaded the files given in the link above, it is now time to begin the installation process.
  2. The first thing which you need to make sure is that you copy the downloaded file to the smartphone.
  3. Once done, simply turn off your phone and enter into the recovery mode. You can do this by pressing Volume Down + Power Key at the same time.
  4. After this, once you are in the recovery menu, look for wipe and format option ⇒ wipe data, system, cache and Dalvik cache and initiate it.
  5. Once done, now return back to the recovery menu and tap on Install.
  6. Now it will ask you to browse for the firmware file which you had copied earlier. Simply navigate to the same and select it.
  7. After that simply swipe to begin the installation.
  8. Do make a note that the installation will take some time and hence we suggest you be patient with the same.
  9. After it is done, before rebooting you can also choose to install the GApps.
  10. Once this is done, your device will automatically reboot into the new ROM.

Do make a note that the first reboot may take a long time and hence we suggest you stay patient with the same. Having said, if you have any queries regarding the setup, then be sure to let us know by commenting down below and also stay tuned to Android Advices for more tutorials like this.




 
 

This email has been sent by Froze ONE (isnanmm0@gmail.com). It is the potion result of 'Tech: Topic watch' from the dashboard 'Personal Dashboard', tab 'Tech > Android'. Turn off or edit this potion

 

© Netvibes 2005-2017 | Terms of service | Privacy Policy

 
 

Subscribe to receive free email updates:

0 Response to "Exclusive: Bypass AMP Links with DeAMPify by João Dias How To Install Android..."

Post a Comment