diff --git a/apps/frontend/src/public/promo-frame-rev-iq.html b/apps/frontend/src/public/promo-frame-rev-iq.html index daa2bd8de..f4d142e7e 100644 --- a/apps/frontend/src/public/promo-frame-rev-iq.html +++ b/apps/frontend/src/public/promo-frame-rev-iq.html @@ -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(); diff --git a/apps/frontend/src/public/promo-frame.html b/apps/frontend/src/public/promo-frame.html index 080aa8454..43adfb776 100644 --- a/apps/frontend/src/public/promo-frame.html +++ b/apps/frontend/src/public/promo-frame.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();