Skip to content

Commit 4f0acdf

Browse files
committed
update
1 parent 61bd427 commit 4f0acdf

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

Zhiyoo-Beautification.user.js

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// ==UserScript==
2+
// @name 智友邦论坛美化 - 精简多余内容、宽屏显示
3+
// @version 1.0.0
4+
// @author X.I.U
5+
// @description 精简多余内容、宽屏显示
6+
// @icon http://bbs.zhiyoo.net/favicon.ico
7+
// @match *://bbs.zhiyoo.net/*
8+
// @license GPL-3.0 License
9+
// @run-at document-start
10+
// @namespace https://greasyfork.org/scripts/412361
11+
// ==/UserScript==
12+
13+
(function() {
14+
var style_Add = document.createElement('style');
15+
style_Add.innerHTML = `
16+
.forum_top,#main_sidebar,.drag,.nav,.tps,.bm.bml,.ct2 .sd,.mn div.box.cl:nth-of-type(3),#f_pst,.plc.plm,#diy_like1,#hm_qrcode_main,#ft,.po.bbd.reply_p,.ft_top.cl,div a[href="https://weibo.com/372458419"] {
17+
display: none;
18+
}
19+
.ct2 .mn,#wp .forum-left,#thread_types1 {
20+
width: auto;
21+
}
22+
#footer {
23+
height: 0 !important;
24+
margin: 0 !important;
25+
}
26+
#thread_subject {
27+
font-size: 19px !important;
28+
}
29+
.locked a {
30+
color: #ffffff;
31+
border: 1px dashed #ffffff;
32+
padding: 0 5px 3px;
33+
margin: 0 5px;
34+
font-size: 20px;
35+
background-color: #e24e72;
36+
}
37+
#postlist .pcb img {
38+
max-width: 30%;
39+
}`;
40+
document.head.appendChild(style_Add);
41+
})();

0 commit comments

Comments
 (0)