Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookies/Rodo on all domain wp.pl #42536

Closed
seba2282 opened this issue Oct 17, 2019 · 8 comments
Closed

Cookies/Rodo on all domain wp.pl #42536

seba2282 opened this issue Oct 17, 2019 · 8 comments

Comments

@seba2282
Copy link

Hello, in last time is problem with cookies/rodo on all domain wp. Adguard can't remove that cookies. In other adblockers isn't better. Of course polish filters are turned on. Can help or idea?
I can say, only I don't care about cookies extension help on cookies.

@krystian3w
Copy link
Contributor

Create similar scriplet for AdGuard:

clickCompleteText("button", "PRZECHODZ", "abczdrowie.pl|allani.pl|autokult.pl|dobramama.pl|dobreprogramy.pl|domodi.pl|echirurgia.pl|fotoblogia.pl|gadzetomania.pl|homebook.pl|jejswiat.pl|kafeteria.pl|kafeteria.tv|kardiolo.pl|komorkomania.pl|luxlux.pl|medycyna24.pl|mixer.pl|money.pl|nocowanie.pl|nerwica.com|o2.pl|open.fm|parenting.pl|pinger.pl|pogodnie.pl|pudelek.pl|pudelek.tv|pudelekx.pl|pytamy.pl|smaczneblogi.pl|samosia.pl|smog.pl|snobka.pl|superauto24.com|testwiedzy.pl|wp.pl");
function clickCompleteText(element, text, urlArg)
{
    if(getUrlCondition(urlArg))
    {
        window.onload = () => {
            var counter = 0;
            (function checkIfElemExists() {
                var btnYes = document.evaluate("//"+element+"[contains(text(), "+'"'+text+'"'+")]", document, null, XPathResult.ANY_TYPE, null).iterateNext();
                if (counter < 100 && btnYes == null) {
                    window.requestAnimationFrame(checkIfElemExists);
                    counter++;
                } else if (btnYes) {
                    btnYes.click()
                }
            })()
        }
    }
}

@seba2282
Copy link
Author

@krystian3w, added that all to user filters and wp.pl still show rodo/cookies. I don't know, I made bad or good with copy that two scripts to users filters mean rules.

@krystian3w
Copy link
Contributor

krystian3w commented Oct 17, 2019

Try these:

#%#function clickCompleteText(t,n){window.onload=(()=>{var e=0;!function l(){var o=document.evaluate("//"+t+'[contains(text(), "'+n+'")]',document,null,XPathResult.ANY_TYPE,null).iterateNext();e<100&&null==o?(window.requestAnimationFrame(l),e++):o&&o.click()}()})}
abczdrowie.pl,allani.pl,autokult.pl,dobramama.pl,dobreprogramy.pl,domodi.pl,echirurgia.pl,fotoblogia.pl,gadzetomania.pl,homebook.pl,jejswiat.pl,kafeteria.pl,kafeteria.tv,kardiolo.pl,komorkomania.pl,luxlux.pl,medycyna24.pl,mixer.pl,money.pl,nocowanie.pl,nerwica.com,o2.pl,open.fm,parenting.pl,pinger.pl,pogodnie.pl,pudelek.pl,pudelek.tv,pudelekx.pl,pytamy.pl,smaczneblogi.pl,samosia.pl,smog.pl,snobka.pl,superauto24.com,testwiedzy.pl,wp.pl#%#clickCompleteText("button", "PRZECHODZ")

old remove, becouse that was not ready script filter.

PS. I can't join this into one filter so created "spinnet" and script filter.

@seba2282
Copy link
Author

@krystian3w I don't know why Adguard won't accept that script and won't work. Can you try put that and check, only I have problem or you too after add that?

@krystian3w
Copy link
Contributor

krystian3w commented Oct 17, 2019

In firefox for my works, Edge HTML maybe still have broken use any script filtering (I cannot found issue with reported bug)?

@seba2282
Copy link
Author

@krystian3w, thank you. I try use on Edge Chromium stable that. Maybe will better if chromium hasn't any problems.

@seba2282
Copy link
Author

@krystian3w, now works. Mean on Edge Chromium stable :)

@seba2282
Copy link
Author

@AdamWr can add?

@AdamWr AdamWr changed the title Cookies/Rodo on all domain wp. Cookies/Rodo on all domain wp.pl Oct 18, 2019
AdamWr added a commit that referenced this issue Oct 18, 2019
@AdamWr AdamWr closed this as completed Oct 18, 2019
AdamWr added a commit that referenced this issue Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants