[Xposed Framework Modules] GermainZ:
Introduction

Some apps redirect all external links through their servers. This breaks intent filters (which means you can't open Play Store links with the Play Store, GitHub links with the GitHub app, etc - you're forced to use a browser to get past the redirection.)

This module removes the crappy link redirection/masking/tracking from various apps.

Also, if URL unshortening is enabled, the module will also try to resolve shortened URLs before opening them. This means that e.g. shortened links leading to YouTube (for example: http://bit.ly/1gf00Wo) can be directly opened in the YouTube app.

If you still don't understand what this module does, you can read a detailed example here.

Requirements:

Xposed Framework.

Non root users can use this app.

Requests:

For apps:

When requesting support for an app you use, include its download link (e.g. Play Store.)

Since it's unlikely I'm also using whatever app you want, I also need detailed information if e.g. link masking only happens in certain parts, and getting there isn't straightforward.

Also gives an example of how the URL is formatted (what *should* open, and what is opening instead.) For example, this is what happens for the Play Store:

What should open: http://xda-developers.com
What is actually being opened because of the app's link masking: http://google.com/?q=[COLOR="Red"]http://xda-developers.com[/COLOR]&sa=asnfioASFOASh01aF

... and I'll try my best to support it.

For URL shorteners:

URL shorteners that require user interaction, such as Adfly, won't be supported.

Of course, pull requests are very welcome if you can do add support for it by yourself. :)

Reporting Issues:

Please include a non-filtered logcat when reporting issues, as well as the full URL if applicable.

The best way to include a logcat is to use a pastebin such as bpaste.net, pastie.org, or ix.io.

Do not use the Xposed Installer's "Log" section, as that's not made to give the full logcat.

Supported shorteners/hosts:

CrappaLinks supports the following URL shorteners:

"t.co", "youtu.be", "bit.ly", "menea.me", "kcy.me", "goo.gl", "ow.ly", "j.mp", "redes.li", "dlvr.it", "tinyurl.com", "tmblr.co", "reut.rs", "sns.mx", "wp.me", "4sq.com", "ed.cl", "huff.to", "mun.do", "cos.as", "flip.it", "amzn.to", "cort.as", "on.cnn.com", "fb.me", "shar.es", "spr.ly", "v.ht", "v0v.in", "redd.it", "bitly.com", "tl.gd", "wh.gov", "hukd.mydealz.de", "untp.i", "kck.st", "engt.co", "nyti.ms", "cnnmon.ie", "vrge.co", "is.gd", "cnn.it", "spon.de", "affiliation.appgratuites-network.com", "t.cn", "url.cn", "ht.ly", "po.st", "ohmyyy.gt", "dustn.ws", "glm.io", "nazr.in", "chip.biz", "ift.tt", "dopice.sk", "phon.es", "buff.ly", "htn.to", "trib.al", "mhlthm.ag", "nerdi.st", "pulse.me", "y2u.be", "feedproxy.google.com", "mdk.to"

And these hosts for masked URLs:

"m.facebook.com", "link2.tapatalk.com", "link.tapatalk.com", "google.com", "vk.com", "click.linksynergy.com", "youtube.com", "m.scope.am", "redirectingat.com", "jdoqocy.com", "viglink.com", "youtube.com" (for attribution links), "pt.tapatalk.com", "getpocket.com", "news.google.com", "mandrillapp.com"

Source code:

https://github.com/GermainZ/CrappaLinks

Download:

http://repo.xposed.info/module/com.germainz.crappalinks

Changelog:

Thanks:

rovo89 and Tungstwenty for the Xposed Framework;

AChep for helping and testing various stuff;

julianjm for helping out with URL resolving;

DD-Ripper for the app's icon;

All translators and testers.