Skip to content

pure_zhihu by ihewro

Details

Authorihewro

LicenseNo License

Categoryzhihu

Created

Updated

Size1.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

去除知乎推荐、热榜等无意义内容

Notes

  • 知乎首页
  • 问答页面
  • 搜索结构列表
  • 文章页面

Source code

/* ==UserStyle==
@name         pure_zhihu
@version      20220401.13.18
@namespace    userstyles.world/user/ihewro
@description  去除知乎推荐、热榜等无意义内容
@author       ihewro
@license      No License
==/UserStyle== */

@-moz-document url("https://www.zhihu.com/") {
/*首页*/

body{
    background: #fff;
    /*overflow: hidden;;*/
}

.AppHeader-inner{
    position: fixed;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 35%;
    /*box-shadow: 0 4px 25px 0 rgba(0,0,0,.1);*/
    background: #fff;
}

/*.is-hidden .AppHeader-inner{*/
/*    display: none;*/
/*}*/
}

@-moz-document url-prefix("https://www.zhihu.com/") {
/*全站*/
.Topstory {
    visibility: hidden!important;
}

.TopstoryPageHeader-main {
    visibility: hidden!important;
}

.AppHeader-Tabs {
    visibility: hidden!important;
}
.AppHeader-notifications {
    visibility: hidden!important;
}
.AppHeader-messages {
    visibility: hidden!important;
}
.SearchBar-topSearchItem {
    display: none!important;
}
.WikiBox {
    display: none!important;
}
.CornerButtons {
    display: none!important;
}
.KfeCollection-PcCollegeCard-root {
    visibility: hidden!important;
}

.SearchSideBar{
    display: none;
}

.Question-sideColumn{
    display: none;
}
.SearchMain{
    width: 100%;
}

.Question-mainColumn{
    width: 100%;
}
/*去除用户推荐*/
div[data-za-detail-view-path-module="UserItem"]{
    display: none;
}
/*去除推荐的话题*/
div[data-za-detail-view-path-module="TopicItem"]{
    display: none;
}
/*div[data-za-detail-view-path-module="AnswerItem"]{*/
/*    display: none;*/
/*}*/


}

Reviews

No reviews yet.