Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<script type="text/javascript">
function notify() {
new Notification("通知");
}
</script>
</head>
<body>
<button onclick="notify()">通知</button>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment