Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
h3786010 authored Oct 11, 2024
1 parent 62a2be7 commit fc96296
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions push/onesignal/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
</style>
</head>
<body>
<button id="btn-unsubscription">Unsubscription</button>
<div id="output"></div>

<script src="https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.js" defer></script>
Expand All @@ -52,11 +51,6 @@
//this is a good place to call OneSignal.login and pass in your user ID
}
}


document.getElementById('btn-unsubscription').addEventListener("click", function() {
OneSignal.removeExternalUserId();
});
</script>
<script>
// 自訂的 console.log 替代函數
Expand Down

0 comments on commit fc96296

Please sign in to comment.