Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
NidhiDixit09 committed Nov 16, 2023
1 parent 6b16184 commit 7366e85
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@

<script>


function register() {
navigator.registerProtocolHandler(
"web+uwptestapp",
"https://nidhidixit09.github.io/loadApp.html",
"https://nidhidixit09.github.io/loadApp.html?uri=%s",
"UWPTestApp",
);
}


}

</script>
<button onclick="register()"> Register </button>

Expand Down
1 change: 1 addition & 0 deletions loadApp.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</head>
<body onload="javascript:loadUWPApp()">
<script>
document.addEventListener('DOMContentLoaded', loadUWPApp);
function loadUWPApp() {
console.log("loadUWPApp function called.");
var win_app = new ActiveXObject("WScript.shell");
Expand Down

0 comments on commit 7366e85

Please sign in to comment.