You've already forked AstralRinth
forked from didirus/AstralRinth
Sync app consent with inmobi consent
This commit is contained in:
@@ -136,6 +136,17 @@
|
|||||||
origin: "https://modrinth.com",
|
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>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user