Remove sync agree state

This commit is contained in:
Jai A 2024-11-27 13:17:01 -07:00
parent 47b0ccdf78
commit 2cfb637451
No known key found for this signature in database
GPG Key ID: 9A9F9B7250E9883C
2 changed files with 0 additions and 34 deletions

View File

@ -79,23 +79,6 @@
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>
</body>
</html>

View File

@ -103,23 +103,6 @@
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>
</body>
</html>