-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathlocalAppLoader_test.html
More file actions
23 lines (22 loc) · 1.22 KB
/
localAppLoader_test.html
File metadata and controls
23 lines (22 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<head>
<title>LocalAppLoader Test</title>
<script>
document.addEventListener('DOMContentLoaded', function(){
document.getElementById('srcPath').innerText = document.URL.substring(8,document.URL.length);
}, false);
</script>
</head>
<body>
<a href="localLoader://testURL:/local_vol1_nobackup/xiaoshen/tmp/"> localLoader://testURL:/local_vol1_nobackup/xiaoshen/tmp/ </a></p>
<a href="localLoader:testURL:/local_vol1_nobackup/xiaoshen/tmp/"> localLoader:testURL:/local_vol1_nobackup/xiaoshen/tmp/ </a>
<hr>
if a message box popups after you click any one link , the install/test is sucessfully, else fails.
<hr>
The file path : <h3 style="display: inline;" > <nobr id="srcPath" >source file path info</nobr> <br>
<a href="" onclick='(function(){ location.href = "localLoader://locatePath:" + document.URL.substring(8,document.URL.length); })();'>open folder</a>
<a href="" onclick='(function(){ location.href = "localLoader://editFile:" + document.URL.substring(8,document.URL.length); })();'>edit source file</a>
<a href="localloader://testURL:/local_vol1_nobackup/xiaoshen/tmp/" >test customized protocol localloader</a>
<hr>
</body>
</html>