![]() |
1
czita 88 天前 ![]() 隐藏整个头? 新建脚本 内容:`$('header').remove();` match 匹配改一下。 或者直接用现成的油猴脚本 https://greasyfork.org/zh-CN/scripts/412212-%E7%9F%A5%E4%B9%8E%E7%BE%8E%E5%8C%96
|
![]() |
2
xiyuesaves 88 天前 ![]() document.querySelector("style").innerText += '.Sticky.AppHeader{transition: 300ms;} .Sticky.AppHeader.is-hidden{transform: translateY(-100%);}'
|
![]() |
3
amorphobia 88 天前 ![]() |
4
ala2008 87 天前 ![]() 这不是基本的 js 或 jq 隐藏/删除元素下就可以了
|
![]() |
5
Pipecraft 87 天前 ![]() 这种注入一段 CSS 代码就行了。可以用 Stylish 扩展,也可以用油猴脚本。
```css header .QuestionHeader-title { display: none; } ``` |
![]() |
6
kasusa 87 天前
这个最好不要删除 让他位置上移比较好。
删除了原来的头也看不见了 |
7
maladaxia 86 天前
哈哈, 我也隐藏了, 主要防止偷窥者知道我在看什么
adblock 加一行规则就行, 整个 header 都给他移除 www.zhihu.com##HEADER[class="Sticky AppHeader is-hidden is-fixed css-17rnw55"] |