Always Open Telegram Link with tp Protocol

convert the URL from "http://t.me" or "http://telegram.me" to "tp://"

Author
futoushi
Daily installs
0
Total installs
107
Ratings
2 0 0
Version
0.3
Created
2019-03-24
Updated
2019-03-25
License
N/A
Applies to
All sites

If you install the Telegram desktop, you may want to directly open the telegram desktop when you click the URL t.me or telegram.me.

This script converts the URL t.me and telegram.me, and sets the URL target as current tab(make sure your browser, like Firefox, would not open a blank tab).

Known issue: It's not work on some website(like: https://sspai.com/post/40388).