mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 09:24:48 +00:00
fix?
This commit is contained in:
parent
e0c4d471c6
commit
fe9ab09266
@ -11,8 +11,9 @@
|
|||||||
<script src="/resources/scripts/main.js"></script>
|
<script src="/resources/scripts/main.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1132419379737567" crossorigin="anonymous"></script>
|
||||||
<div class="ads-container">
|
<div class="ads-container">
|
||||||
<ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-1132419379737567" data-ad-slot="3280170072" data-ad-format="auto" data-full-width-responsive="true"></ins>
|
<ins class="adsbygoogle" style="display: block" data-ad-client="ca-pub-1132419379737567" data-ad-slot="3280170072" data-ad-format="auto" data-full-width-responsive="true"></ins>
|
||||||
</div>
|
</div>
|
||||||
<div class="launcher">
|
<div class="launcher">
|
||||||
<div class="title-bar">
|
<div class="title-bar">
|
||||||
@ -120,12 +121,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="ads-container">
|
<div class="ads-container">
|
||||||
<ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-1132419379737567" data-ad-slot="3280170072" data-ad-format="auto" data-full-width-responsive="true"></ins>
|
<ins class="adsbygoogle" style="display: block" data-ad-client="ca-pub-1132419379737567" data-ad-slot="3280170072" data-ad-format="auto" data-full-width-responsive="true"></ins>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
if (storage.local.get('showAds') !== false) {
|
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -18,12 +18,12 @@ body {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ads-container {
|
/*.ads-container {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
.launcher {
|
.launcher {
|
||||||
width: 75vw;
|
width: 65vw;
|
||||||
height: 95vh;
|
height: 95vh;
|
||||||
margin: 15px auto 0 auto;
|
margin: 15px auto 0 auto;
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
|
@ -326,7 +326,7 @@ if (window.location.pathname === '/') {
|
|||||||
} */
|
} */
|
||||||
serviceworker.register('/sw.js');
|
serviceworker.register('/sw.js');
|
||||||
} else {
|
} else {
|
||||||
if (storage.local.get('showAds') !== false) {
|
/*if (storage.local.get('showAds') !== false) {
|
||||||
const googleAdsScript = document.createElement('script');
|
const googleAdsScript = document.createElement('script');
|
||||||
googleAdsScript.async = true;
|
googleAdsScript.async = true;
|
||||||
googleAdsScript.src = 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1132419379737567';
|
googleAdsScript.src = 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1132419379737567';
|
||||||
@ -341,7 +341,7 @@ if (window.location.pathname === '/') {
|
|||||||
adsContainer.style.display = 'block';
|
adsContainer.style.display = 'block';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}*/
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const profileName = document.getElementById('profile-name');
|
const profileName = document.getElementById('profile-name');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user