mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +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:
14
index.html
14
index.html
@@ -8,10 +8,10 @@
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
ga('create', 'UA-73024255-2', 'auto');
|
||||
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', 'dimension3', localStorage.getItem('schema_version') ?? '1.18');
|
||||
ga('set', 'dimension4', localStorage.getItem('language') ?? 'en');
|
||||
ga('set', 'dimension3', localStorage.getItem('schema_version') || '1.18');
|
||||
ga('set', 'dimension4', localStorage.getItem('language') || 'en');
|
||||
ga('set', 'dimension5', 'none');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
@@ -20,6 +20,14 @@
|
||||
<title>Data Pack Generators Minecraft 1.15, 1.16, 1.17</title>
|
||||
<link rel="icon" href="/src/favicon-32.png" sizes="32x32">
|
||||
<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>
|
||||
<body>
|
||||
<div data-ea-publisher="misode-github-io" data-ea-manual="true" id="ad-placeholder"></div>
|
||||
|
||||
Reference in New Issue
Block a user