Skip to content

哔哩哔哩和知乎:禁止推荐算法,降低奖励 by dualrelax

Screenshot of 哔哩哔哩和知乎:禁止推荐算法,降低奖励

Details

Authordualrelax

LicenseGPL2

Categorybilibili zhihu

Created

Updated

Code size3.1 kB

Code checksum55738668

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

删除b站知乎推荐,一些图片等。将视频和图片的吸引力降低,夺回自己的时间

Notes

Source code

/* ==UserStyle==
@name           哔哩哔哩和知乎:禁止推荐算法,降低奖励
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */

/* Grayscale videos and images, invert video colors (将视频和图片处理为灰度,反转视频颜色) */
video {
  filter: /* grayscale(1) */ invert(1);
}
/*
img {
  filter: grayscale(1);
}
*/


/* Block recommended content (屏蔽推荐内容) */
/* zhihu.com(知乎) */
@-moz-document domain("zhihu.com") {
  /* pc(电脑端) */
  .Topstory-content,   /* Homepage(主页) */
  .Recommendations-Main   /* Recommendations under the article(文章下的推荐) */
  {
    display: none !important; /* Hide Zhihu's top story content (隐藏知乎首页推荐内容) */
  }

  /* Mobile version(手机端) */
  .TopstoryMain,    /* Homepage(主页) */
  .List-item.NotLoggedInTopstoryItem,    /* Homepage(主页) */
  .Post-Sub.Post-Sub-Mobile,     /* Recommendations under the article(文章下的推荐) */
  .KfeCollection-VipRecommendCard.KfeCollection-VipRecommendCard-article.Post-VipRecommendCard     /* Recommendations under the article(文章下的推荐) */
  {
    display: none !important; /* Hide Zhihu's top story content (隐藏知乎首页推荐内容) */
  }
}


/* Block recommendations and other elements on Bilibili homepage (屏蔽哔哩哔哩首页的推荐内容和其他元素) */
/* bilibili.com(哔哩哔哩) */
@-moz-document domain("bilibili.com") {
  /* pc(电脑端) */
  #commentapp,                  /* Comments(评论) */
  .search-panel,                 /* Searches for hot searches(搜索的热搜) */
  .container.is-version8,       /* Video recommendations (视频推荐) */
  .bili-header__channel,        /* Video categories (视频分类) */
  .recommend-list-v1,          /* Video recommendations while playing (播放时的视频推荐) */
  .left-entry,                  /* Upper left column (左上栏目) */
  .v-img.bili-video-card__cover,  /* Search result images (搜索视频的图片) */
  .pop-live-small-mode.part-1,  /* Live streaming recommendations while watching videos(看视频时的直播推荐) */
  .bili-header__banner {       /* Background image ( 背景图片) */
    display: none !important;   /* Hide selected elements (隐藏选定的元素) */
  }

  input::placeholder {            /* Search recommendations(搜索推荐) */
    color: transparent;           /* Transparent(透明) */
  }

  /* Mobile version(手机端) */
  .m-search-history,            /* History of searchs(搜索历史) */
  .m-search-hot,               /* Hot of searchs(热搜) */
  .channel-menu,              /* Video recommendations (视频推荐) */
  .m-home,                    /* Video categories (视频分类) */
  *.v-card-toapp,             /* Video recommendations while playing (播放时的视频推荐) */
  .pic-box {                  /* Search result images (搜索视频的图片) */
    display: none !important;   /* Hide selected elements (隐藏选定的元素) */
  }
}

Reviews

No reviews yet.