Answer the question
In order to leave comments, you need to log in
Are there currently working free solutions for blocking Yandex Advisor?
Hello!
Are there currently working free solutions for blocking Yandex Advisor?
I used to use https://www.npmjs.com/package/kick_sovetnik but it doesn't work anymore.
Answer the question
In order to leave comments, you need to log in
$(function() {
let sovetnikIntervalId = setInterval(function() {
let a = document.querySelector('a[data-type="wrong-product"]');
if (a !== null) {
let sovetnikBlock = $(a).parents(':not(body,html)').last();
sovetnikBlock.remove();
document.getElementsByTagName('html')[0].setAttribute('style', '');
clearInterval(sovetnikIntervalId);
}
}, 500);
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question