mirror of
https://github.com/misode/misode.github.io.git
synced 2026-05-03 06:02:54 +00:00
Fix for browsers without bigint support (#210)
* Attempt to prevent bigint errors * Define bigint in index.html * BigInt64Array * Maybe now?
This commit is contained in:
+11
-3
@@ -8,10 +8,10 @@
|
|||||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||||
ga('create', 'UA-73024255-2', 'auto');
|
ga('create', 'UA-73024255-2', 'auto');
|
||||||
ga('set', 'page', location.pathname);
|
ga('set', 'page', location.pathname);
|
||||||
ga('set', 'dimension1', localStorage.getItem('theme') ?? 'default');
|
ga('set', 'dimension1', localStorage.getItem('theme') || 'default');
|
||||||
ga('set', 'dimension2', 'v2');
|
ga('set', 'dimension2', 'v2');
|
||||||
ga('set', 'dimension3', localStorage.getItem('schema_version') ?? '1.18');
|
ga('set', 'dimension3', localStorage.getItem('schema_version') || '1.18');
|
||||||
ga('set', 'dimension4', localStorage.getItem('language') ?? 'en');
|
ga('set', 'dimension4', localStorage.getItem('language') || 'en');
|
||||||
ga('set', 'dimension5', 'none');
|
ga('set', 'dimension5', 'none');
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
</script>
|
</script>
|
||||||
@@ -20,6 +20,14 @@
|
|||||||
<title>Data Pack Generators Minecraft 1.15, 1.16, 1.17</title>
|
<title>Data Pack Generators Minecraft 1.15, 1.16, 1.17</title>
|
||||||
<link rel="icon" href="/src/favicon-32.png" sizes="32x32">
|
<link rel="icon" href="/src/favicon-32.png" sizes="32x32">
|
||||||
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
|
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
|
||||||
|
<script>
|
||||||
|
if (typeof BigInt !== 'function') {
|
||||||
|
BigInt = function(e) { return e }
|
||||||
|
}
|
||||||
|
if (typeof BigInt64Array !== 'function') {
|
||||||
|
BigInt64Array = function() { }
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div data-ea-publisher="misode-github-io" data-ea-manual="true" id="ad-placeholder"></div>
|
<div data-ea-publisher="misode-github-io" data-ea-manual="true" id="ad-placeholder"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user