如题,知乎的视频真的太恶心了

1 Longerrrr Sep 29, 2021 现写了一个 ```Javascript (function() { 'use strict'; // 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) })(); ``` |
2 lj2016 Sep 29, 2021 油猴 知乎增强 |