We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
*://www.zhihu.com/pub/reader/*`, and fix a little style
1 parent a31fb59 commit 36269a5Copy full SHA for 36269a5
toc-bar.user.js
@@ -10,6 +10,7 @@
10
// @match *://www.jianshu.com/p/*
11
// @match *://cdn2.jianshu.io/p/*
12
// @match *://zhuanlan.zhihu.com/p/*
13
+// @match *://www.zhihu.com/pub/reader/*
14
// @match *://mp.weixin.qq.com/s*
15
// @match *://cnodejs.org/topic/*
16
// @match *://*zcfy.cc/article/*
@@ -52,6 +53,10 @@
52
53
return location.pathname.startsWith('/p/')
54
},
55
56
+ 'www.zhihu.com': {
57
+ contentSelector: '.reader-chapter-content',
58
+ scrollSmoothOffset: -52,
59
+ },
60
zcfy: {
61
contentSelector: '.markdown-body',
62
@@ -282,7 +287,7 @@
282
287
/* tocbot related */
283
288
.toc-bar__toc {
284
289
max-height: 80vh;
285
- overflow-y: scroll;
290
+ overflow-y: auto;
286
291
}
292
293
.toc-list-item > a:hover {
0 commit comments