You've already forked AstralRinth
forked from didirus/AstralRinth
Remove inmobi (temp)
This commit is contained in:
@@ -4,11 +4,8 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Modrinth App Ad</title>
|
<title>Modrinth App Ad</title>
|
||||||
<script
|
<script src="https://dn0qt3r0xannq.cloudfront.net/modrinth-7JfmkEIXEp/modrinth-longform/prebid-load.js"></script>
|
||||||
src="https://dn0qt3r0xannq.cloudfront.net/modrinth-7JfmkEIXEp/modrinth-longform/prebid-load.js"
|
<!-- <script src="/inmobi.js" async></script>-->
|
||||||
async
|
|
||||||
></script>
|
|
||||||
<script src="/inmobi.js" async></script>
|
|
||||||
<link rel="preload" href="https://www.googletagservices.com/tag/js/gpt.js" as="script" />
|
<link rel="preload" href="https://www.googletagservices.com/tag/js/gpt.js" as="script" />
|
||||||
<style>
|
<style>
|
||||||
* {
|
* {
|
||||||
@@ -70,6 +67,7 @@
|
|||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
window.addEventListener(
|
window.addEventListener(
|
||||||
"message",
|
"message",
|
||||||
(event) => {
|
(event) => {
|
||||||
@@ -106,20 +104,20 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
let attempts = 0;
|
// let attempts = 0;
|
||||||
function syncAgreeState() {
|
// function syncAgreeState() {
|
||||||
const primaryButton = document.querySelector('[mode="primary"]');
|
// const primaryButton = document.querySelector('[mode="primary"]');
|
||||||
|
//
|
||||||
if (primaryButton) {
|
// if (primaryButton) {
|
||||||
primaryButton.click();
|
// primaryButton.click();
|
||||||
} else {
|
// } else {
|
||||||
attempts++;
|
// attempts++;
|
||||||
if (attempts < 10) {
|
// if (attempts < 10) {
|
||||||
setTimeout(syncAgreeState, 1000);
|
// setTimeout(syncAgreeState, 1000);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
syncAgreeState();
|
// syncAgreeState();
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user