|
8 | 8 | <meta http-equiv="expires" content="0" /> |
9 | 9 | <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" /> |
10 | 10 | <meta http-equiv="pragma" content="no-cache" /> |
11 | | - <meta http-equiv="Content-Security-Policy" content=" |
12 | | - default-src 'self'; |
13 | | - script-src 'self' https://stopsign.github.io https://cdn.jsdelivr.net https://www.googletagmanager.com 'unsafe-inline'; |
14 | | - style-src 'self' 'unsafe-inline'; |
15 | | - connect-src 'self' https://steam-sc-proxy.jimkap09.workers.dev/ https://www.google-analytics.com https://cdn.jsdelivr.net; |
16 | | - img-src 'self' data: https://www.google-analytics.com; |
17 | | -"> |
| 11 | +<!-- <meta http-equiv="Content-Security-Policy" content="--> |
| 12 | +<!-- default-src 'self';--> |
| 13 | +<!-- script-src 'self' https://stopsign.github.io https://cdn.jsdelivr.net https://www.googletagmanager.com 'unsafe-inline';--> |
| 14 | +<!-- style-src 'self' 'unsafe-inline';--> |
| 15 | +<!-- connect-src 'self' https://steam-sc-proxy.jimkap09.workers.dev/ https://www.google-analytics.com https://cdn.jsdelivr.net;--> |
| 16 | +<!-- img-src 'self' data: https://www.google-analytics.com;--> |
| 17 | +<!--">--> |
18 | 18 | <meta name="viewport" content="width=device-width, initial-scale=.8"> |
19 | 19 |
|
20 | 20 | <title>KTL</title> |
|
120 | 120 | View Amulet Upgrades |
121 | 121 | </span> |
122 | 122 |
|
123 | | -<span id="currentVersion" style="position:fixed;top:1px;right:5px;color:var(--text-muted)">v3.2.4</span> |
| 123 | +<span id="currentVersion" style="position:fixed;top:1px;right:5px;color:var(--text-muted)">v3.2.5</span> |
124 | 124 |
|
125 | 125 |
|
126 | 126 | <div id="bonusDisplayShowButton" class="button" onclick="bonusMenuHideButton()" |
|
322 | 322 |
|
323 | 323 | <div class="menuSeparator"></div> |
324 | 324 |
|
325 | | - <div style="display:flex;height:calc(80vh - 100px);min-height:200px;position:relative;overflow:hidden;font-size:0;"> |
| 325 | + <div style="display:flex;height:calc(var(--app-vh, 1vh) * 80 - 100px);min-height:200px;position:relative;overflow:hidden;font-size:0;"> |
326 | 326 | <div class="menuOptionContainer"> |
327 | 327 | <div id="uniqueUpgradeTab" onclick="clickUpgradeTab('unique')" class="menuTab"> |
328 | 328 | Unique Upgrades (AC) |
|
493 | 493 | <!--<script src="steamStuff.js"></script>--> |
494 | 494 | <!--<script src="steamSecrets.js"></script>--> |
495 | 495 | <!--<script src="soulCoinsSecrets.js"></script>--> |
496 | | -<script async src="https://www.googletagmanager.com/gtag/js?id=G-E10C6H16MH"></script><script> |
497 | | - window.dataLayer = window.dataLayer || []; |
498 | | - function gtag(){dataLayer.push(arguments);} |
499 | | - gtag('js', new Date()); |
500 | | - gtag('config', 'G-E10C6H16MH'); |
| 496 | +<script> |
| 497 | + if (!isSteam) { |
| 498 | + const gaScript = document.createElement('script'); |
| 499 | + gaScript.async = true; |
| 500 | + gaScript.src = 'https://www.googletagmanager.com/gtag/js?id=G-E10C6H16MH'; |
| 501 | + document.head.appendChild(gaScript); |
| 502 | + |
| 503 | + window.dataLayer = window.dataLayer || []; |
| 504 | + function gtag(){dataLayer.push(arguments);} |
| 505 | + gtag('js', new Date()); |
| 506 | + gtag('config', 'G-E10C6H16MH'); |
| 507 | + } |
501 | 508 | </script> |
502 | 509 | <script> |
503 | 510 | startGame(); |
|
0 commit comments