123456789101112131415 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta name="viewport"
- content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
- </head>
- <body>
- <a id='link' target='_blank'>
- Click to intent to the package specified in the URL hash in a new tab
- </a>
- <script type="text/javascript">
- document.getElementById('link').href = 'intent://example.test#Intent;scheme=https;action=android.intent.action.VIEW;package=' + window.location.href.split('#')[1] + ';end';
- </script>
- </body>
- </html>
|