请问有没有隐藏本站头像的油猴脚本?

36 天前
 ophl
左侧这一列头像还是太扎眼了,能不能隐藏起来?
1464 次点击
所在节点    问与答
16 条回复
sslzjx
36 天前
block images/video
gpt5
36 天前
我是直接用广告拦截插件把头像的元素拦截了
ophl
36 天前
@gpt5 我这个 adblock 好像不能指定一类网址,再研究下
jifengg
36 天前
右上角,设置,自定义 css ,
codyfeng
36 天前
刚刚手搓了一个

```
// ==UserScript==
// @name Hide avatars from v2ex.com
// @namespace Violentmonkey Scripts
// @match https://*.v2ex.com/*
// @match https://v2ex.com/*
// @grant none
// @version 1.0
// @author -
// @description 14/08/2024, 13:00:17
// ==/UserScript==


(()=>{
'use strict';

const css = `.avatar { display: none !important; }`;

let customStyle = document.createElement('style');
customStyle.innerHTML = css;
document.head.appendChild(customStyle);

})()
```
ssgooglg
36 天前
@codyfeng v 站上个个都是人才
busterian
36 天前
@ophl
广告过滤插件直接 ##.avatar 又快又好
你用油猴脚本还会瞬间闪一下原有的头像。
totoro625
36 天前
hero1874
36 天前
@codyfeng #5 感谢 已经用上了
lambdaq
36 天前
https://www.v2ex.com/settings 这里就可以自定义 css 吧
0o0O0o0O0o
36 天前
https://www.v2ex.com/settings 自定义 css 里
#Main .cell .avatar {
display: none;
}
dreampet
36 天前
Adblock 插件, 高级 -> 我的过滤列表添加一条

v2ex.com##.avatar

就可以了
tyrone2333
36 天前
ophl
36 天前
@codyfeng 多谢,用这个搞定了
kw8023cn
36 天前
没了头像,岂不是少了很多乐趣哈哈哈哈哈哈
bzw875
36 天前
我用自定义 css 的 Chrome 插件 [Stylebot]
下面样式全部隐藏,并且把空间空出来
.cell td:first-child {
display: none;
}
img.avatar {
display: none;
}

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1064868

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX