Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 14, 2018
1 parent 4e35a5d commit 5bf0dbf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@
<meta charset="UTF-8">
<title>notify.js - JS achieve the browser title flashing, scrolling, voice prompts, chrome notice.</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="A robust Javascript library for capturing keyboard input and key combinations entered. It has no dependencies. Try to press your keyboard, The following button will highlight.">
<meta name="description" content="JS achieve the browser title flashing , scrolling, voice prompts , chrome notice.">
</head>

<body>
<script>
const targetProtocol = 'https:';
if (window.location.protocol !== targetProtocol && /\.com$/.test(window.location.host)) {
window.location.href = targetProtocol + window.location.href.substring(window.location.protocol.length);
}
</script>
<div id="root"></div>
<script src="./index.js"></script>
</body>
Expand Down

0 comments on commit 5bf0dbf

Please sign in to comment.