Broader compatiblity of "agree" button detection

This commit is contained in:
Kuba Orlik 2022-07-15 12:56:43 +02:00
parent a5504b64a3
commit c7a9ce6364

View File

@ -1,5 +1,5 @@
regexes = ["allow", "accept", "akceptuj", /przejdź(?! do główn).*/];
avoid = ["dostosuj"];
regexes = ["allow", "accept", "agree", "akceptuj", /przejdź(?! do główn).*/];
avoid = ["dostosuj", "don't"];
buttons = Array.from(document.querySelectorAll("*")).filter(
(e) =>