You've already forked AstralRinth
forked from didirus/AstralRinth
Remove sync agree state
This commit is contained in:
@@ -79,23 +79,6 @@
|
|||||||
origin: "https://modrinth.com",
|
origin: "https://modrinth.com",
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
let attempts = 0;
|
|
||||||
function syncAgreeState() {
|
|
||||||
const primaryButton = document.querySelector(
|
|
||||||
".qc-cmp2-summary-buttons button:last-of-type",
|
|
||||||
);
|
|
||||||
|
|
||||||
if (primaryButton) {
|
|
||||||
primaryButton.click();
|
|
||||||
} else {
|
|
||||||
attempts++;
|
|
||||||
if (attempts < 10) {
|
|
||||||
setTimeout(syncAgreeState, 1000);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
syncAgreeState();
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -103,23 +103,6 @@
|
|||||||
origin: "https://modrinth.com",
|
origin: "https://modrinth.com",
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
let attempts = 0;
|
|
||||||
function syncAgreeState() {
|
|
||||||
const primaryButton = document.querySelector(
|
|
||||||
".qc-cmp2-summary-buttons button:last-of-type",
|
|
||||||
);
|
|
||||||
|
|
||||||
if (primaryButton) {
|
|
||||||
primaryButton.click();
|
|
||||||
} else {
|
|
||||||
attempts++;
|
|
||||||
if (attempts < 10) {
|
|
||||||
setTimeout(syncAgreeState, 1000);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
syncAgreeState();
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user