$(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);
});