
1 Longerrrr 2021-09-29 10:23:46 +08:00 现写了一个 ```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 2021-09-29 13:02:21 +08:00 油猴 知乎增强 |
4 MiketsuSmasher 2021-09-29 18:13:28 +08:00 纯视频类内容(不是回答)很好解决,在 uBlock 的静态规则里面加上下面几行就解决了: www.zhihu.com##.ZVideoItem.ContentItem www.zhihu.com##.VideoContributionAnswer-container 至于视频回答,还是要用脚本 |
5 yagnqionggo 2022-07-06 13:28:46 +08:00 写了 chrome 插件,屏蔽知乎推荐页视频 https://github.com/yangqiong/chrome-plugins-zhihu-hidden |