MathRobin / Never-Consent

Never consent to any GDPR consent management platform
MIT License
255 stars 16 forks source link

Search for "Continuer sans accepter" #85

Closed MathRobin closed 2 years ago

MathRobin commented 3 years ago

Use something like

function searchTxt(sentence) {
    $$('span').forEach((ele)=>{
        if(ele.innerText === sentence) {
            console.log(ele.innerText);
            return ele;
        }
    });
}

searchTxt('Continuer sans accepter')