Remove sync agree state
This commit is contained in:
parent
47b0ccdf78
commit
2cfb637451
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user