OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <!-- | 3 <!-- |
4 | 4 |
5 Copyright (c) 2015 The Chromium Authors. All rights reserved. | 5 Copyright (c) 2015 The Chromium Authors. All rights reserved. |
6 Use of this source code is governed by a BSD-style license that can be | 6 Use of this source code is governed by a BSD-style license that can be |
7 found in the LICENSE file. | 7 found in the LICENSE file. |
8 | 8 |
9 --> | 9 --> |
10 <head> | 10 <head> |
11 <meta name="viewport" | 11 <meta name="viewport" |
12 content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> | 12 content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> |
13 <script> | 13 <script> |
14 function openApp() { | 14 function openApp() { |
15 location.href = 'intent://test/#Intent;scheme=test;package=com.chrome.test
;S.browser_fallback_url=http://www.google.com;end'; | 15 location.href = 'intent://test/#Intent;scheme=test;package=com.chrome.test
;S.browser_fallback_url=http%3A%2F%2Flocalhost%3A8000%2Fchrome%2Ftest%2Fdata%2Fa
ndroid%2Furl_overriding%2Fhello.html;end'; |
16 }; | 16 }; |
17 </script> | 17 </script> |
18 </head> | 18 </head> |
19 <body style='height:10000px;' onclick='openApp();'> | 19 <body style='height:10000px;' onclick='openApp();'> |
20 Click page to open App!! | 20 Click page to open App!! |
21 </body> | 21 </body> |
22 </html> | 22 </html> |
OLD | NEW |