Last active
April 26, 2021 15:37
-
-
Save kenng/0c850883025f61802529161e94802060 to your computer and use it in GitHub Desktop.
web push 01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<title>Firebase Messaging Demo</title> | |
<style> | |
div { | |
margin-bottom: 15px; | |
} | |
</style> | |
<body> | |
<div id="token"></div> | |
<div id="msg"></div> | |
<div id="notis"></div> | |
<div id="err"></div> | |
<script> | |
MsgElem = document.getElementById("msg") | |
TokenElem = document.getElementById("token") | |
NotisElem = document.getElementById("notis") | |
ErrElem = document.getElementById("err") | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment