// Your code here... setInterval( ()=>{ let feeds = document.getElementsByClassName("Feed"); for(let i = 0; i < feeds.length; i++ ) { let f = feeds[i]; let att_str = f.getAttribute("data-za-extra-module") let att = JSON.parse(att_str) if (att.card && att.card.has_video) { f.parentElement.remove(); console.log("remove") } } } , 500)