This library is no longer maintained. The mobile app platform is now leaning towards a standard where regular URLs (more or less) redirect to an app. This involves hosting separate files, something this library cannot do for you.
- Android App Links
- iOS Universal Links
I discourage using this library and encourage using this new standard instead.
applink.js is designed to add deep links to the web in an easy and stable way.
Mobile deep links are links that refer to apps instead of another web page. Opening things in apps can vastly improve a user’s experience.
<a class="fu-join"
data-deeplink="deep-link" // App内跳转地址
href="download-link" // 服务器端设置的根据UA判断的自动跳转链接,包含下面4中情况
data-href-android="android-download-link" // Android包下载地址
data-href-ios="itunes-link" // itunes地址
data-href-qq-android="myapp-link" // 应用宝推广地址
data-href-qq-ios="myapp-link">立即打开</a> // 应用宝推广地址Mobile deep links are not intended for desktops, so there are several fallbacks, in this order:
- Open the deep link
- Open the app in the store (if present)
- Go to the href attribute (if present)
- Absolutely nothing The more information you supply, the better.
applink.js is licensed under the MIT license. http://opensource.org/licenses/MIT
- 删除bower支持;
- 适当重构
- Add intent for modern Android browsers
- Add Windows Phone support
- Trying to correctly use semver
- Improved workflow
- Added “visibly.js” – A Page Visible API polyfill
- Some minor optimisations
Uhhhm, the bower file changed and listed a first release.
- iOS store prefix includes 'id'
- Added a comment for later use
- Reinstated the requirement of empty-ish href attribute before hiding a link
- Some minor changes
- Initial release