We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9482875 commit 3685cbaCopy full SHA for 3685cba
1 file changed
Zhihu-Beautification.user.js
@@ -1,10 +1,10 @@
1
// ==UserScript==
2
// @name 知乎美化
3
-// @version 1.0.4
+// @version 1.0.5
4
// @author X.I.U
5
// @description 宽屏显示、隐藏文章开头大图、文章编辑页面与实际文章宽度一致
6
// @match *://www.zhihu.com/*
7
-// @match *://zhuanlan.zhihu.com/p/*/edit
+// @match *://zhuanlan.zhihu.com/p/*
8
// @icon https://static.zhihu.com/static/favicon.ico
9
// @grant GM_registerMenuCommand
10
// @grant GM_unregisterMenuCommand
@@ -93,7 +93,9 @@
93
style = style_1;
94
}
95
if(window.location.href.indexOf("zhuanlan") > -1){
96
- style += style_3;
+ if(window.location.href.indexOf("/edit") > -1){
97
+ style += style_3;
98
+ }
99
100
style_Add.innerHTML = style;
101
document.head.appendChild(style_Add);
0 commit comments