-
Notifications
You must be signed in to change notification settings - Fork 28
/
head-snippet.html
19 lines (19 loc) · 1.08 KB
/
head-snippet.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<script nomodule>
(function () {
var snip_ua = window.navigator.userAgent;
var snip_ie = snip_ua ? snip_ua.indexOf("MSIE ") : 0;
if (snip_ie > 0) {
var snip_ver = parseInt(snip_ua.substring(snip_ie + 5, snip_ua.indexOf(".", snip_ie)), 10);
if (snip_ver > 0 && snip_ver < 11) {
alert("Versions of Internet Explorer that are no longer maintained by Microsoft \
(and therefore cannot be made secure by applying security updates) are not supported. \
Consider upgrading to IE11 or switching to Edge, Chrome or other modern browser.");
}
}
})();
</script>
<script nomodule src="https://cdn.jsdelivr.net/npm/promise-polyfill/dist/polyfill.min.js"></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/whatwg-fetch/dist/fetch.umd.min.js"></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/abortcontroller-polyfill/dist/umd-polyfill.min.js"></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/mdn-polyfills/String.prototype.includes.js"></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/mdn-polyfills/Object.assign.js"></script>