修改 脚本名称(和其他的脚本格式统一)

This commit is contained in:
xiu2
2020-10-23 13:08:49 +08:00
parent 6f3b3cba54
commit 3a2c352703
3 changed files with 30 additions and 31 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
| 脚本名称 | 脚本功能 | 安装 | 备用 |
| :---- | :---- | :----: | :----: |
| **知乎 增强** | 宽屏显示 | **[「安装」](https://greasyfork.org/scripts/412212)** | **[「安装」](https://cdn.jsdelivr.net/gh/XIU2/UserScript@master/ZhihuEnhanced-Widescreen.user.js)** |
| **知乎 美化** | 宽屏显示 | **[「安装」](https://greasyfork.org/scripts/412212)** | **[「安装」](https://cdn.jsdelivr.net/gh/XIU2/UserScript@master/Zhihu-Beautification.user.js)** |
| **知乎 增强** | 区分问题和文章 | **[「安装」](https://greasyfork.org/scripts/414027)** | **[「安装」](https://cdn.jsdelivr.net/gh/XIU2/UserScript@master/ZhihuEnhanced-TypeTip.user.js)** |
| **知乎 增强** | 一键收起长篇回答 | **[「安装」](https://greasyfork.org/scripts/412205)** | **[「安装」](https://cdn.jsdelivr.net/gh/XIU2/UserScript@master/ZhihuEnhanced-CollapsedAnswer.user.js)** |
| **知乎 增强** | 默认显示高清原图 | **[「安装」](https://greasyfork.org/scripts/412217)** | **[「安装」](https://cdn.jsdelivr.net/gh/XIU2/UserScript@master/ZhihuEnhanced-HD-Pictures.user.js)** |
+29
View File
@@ -0,0 +1,29 @@
// ==UserScript==
// @name 知乎美化
// @version 1.0.1
// @author X.I.U
// @description 宽屏显示
// @include *://www.zhihu.com/*
// @icon https://static.zhihu.com/static/favicon.ico
// @license GPL-3.0 License
// @run-at document-start
// @namespace https://greasyfork.org/scripts/412212
// ==/UserScript==
(function() {
var style_Add = document.createElement('style');
style_Add.innerHTML = `
.GlobalSideBar,.Question-sideColumn,.ContentLayout-sideColumn,.SearchSideBar,.RichContent img.ArticleItem-image {
display: none !important;
}
.Topstory-mainColumn,.Question-mainColumn,.ContentLayout-mainColumn,.SearchMain,.QuestionWaiting-mainColumn {
width: 1000px !important;
}
.QuestionWaiting-mainColumn {
margin-right: 0 !important;
}
.ImageMessage-ImageView {
z-index: 999 !important;
}`;
document.head.appendChild(style_Add);
})();
-30
View File
@@ -1,30 +0,0 @@
// ==UserScript==
// @name 知乎增强 - 宽屏显示
// @name:zh-CN 知乎增强 - 宽屏显示
// @name:zh-TW 知乎增強 - 寬屏顯示
// @version 1.0.0
// @author X.I.U
// @description 首页、热榜、搜索等页面改为宽屏显示
// @description:zh-CN 首页、热榜、搜索等页面改为宽屏显示
// @description:zh-TW 首頁、熱榜、搜索等頁面改為寬屏顯示
// @include *://www.zhihu.com/*
// @icon https://static.zhihu.com/static/favicon.ico
// @license GPL-3.0 License
// @run-at document-start
// @namespace https://greasyfork.org/scripts/412212
// ==/UserScript==
(function() {
var style_Add = document.createElement('style');
style_Add.innerHTML = `
.GlobalSideBar,.Question-sideColumn,.ContentLayout-sideColumn,.SearchSideBar {
display: none;
}
.Topstory-mainColumn,.Question-mainColumn,.ContentLayout-mainColumn,.SearchMain {
width: 1000px;
}
.ImageMessage-ImageView {
z-index: 999 !important;
}`;
document.head.appendChild(style_Add);
})();