1
0

Sync app consent with inmobi consent

This commit is contained in:
Jai A
2024-10-31 15:14:41 -07:00
parent f6af620643
commit 7825dd64ca

View File

@@ -136,6 +136,17 @@
origin: "https://modrinth.com",
});
});
function syncAgreeState() {
const primaryButton = document.querySelector('[mode="primary"]');
if (primaryButton && primaryButton.textContent && primaryButton.textContent.includes("AGREE")) {
primaryButton.click();
} else {
setTimeout(syncAgreeState, 100);
}
}
syncAgreeState();
</script>
</body>
</html>