自用,主要用来刷米家官号用。不想在刷官号时被社区节奏干扰。
主要功能:
屏蔽官号投稿下的社区评论显示。
屏蔽社区投稿的推荐流。
测试平台:
- kiwi browser: https://github.com/kiwibrowser/android/releases/latest
- uBlockOrigin: https://github.com/gorhill/uBlock/releases/latest
测试用例(需登录TapTap网页并关注米游动态):https://www.taptap.cn/forum/follow/app
code r0:
! taptap.cn
!#if env_mobile
!! 下侧悬浮App挑转按钮
www.taptap.cn##:root > body > #__nuxt > div > a.open-app-global-float
!! TapTap标头App跳转按钮
www.taptap.cn##:root > body > #__nuxt > div > main > div > div.home-page__container > div.home-page_layout-header > div.tap-router.tap-button.open-app
www.taptap.cn##:root > body > #__nuxt > div > main > div > div.home-page__container > div.home-page__tabs > div > div > div.app-calendar-header:style(top: initial !important)
www.taptap.cn##:root > body > #__nuxt > div > main > div > div.top-rank-header > div.tap-router.tap-button.open-app
www.taptap.cn##:root > body > #__nuxt > div > main > div > div.forum-page__container > div.forum-page_layout-header > div.tap-router.tap-button.open-app
!! 动态标签页关注投稿流切换
www.taptap.cn##:root > body > #__nuxt > div > main > div > div.forum-page__container > div.forum-page__tabs > div > div.frequent-visit-header
!! ※当切换到动态标签页的「关注(的游戏)」子标签页时,隐藏标签页切换栏
www.taptap.cn##:root > body > #__nuxt > div > main > div:has(> div.forum-page__container > div.forum-page_layout-header > div.forum-page_layout-header-top > div.tap-slide--activated.forum-page__tab-headers > div.tap-slide__wrap > div > a.forum-page__tab-header.tap-tab--active[href="/forum/follow/app"]) > div.layout-tabbar.box-border
www.taptap.cn##:root > body > #__nuxt > div > main > div:has(> div.forum-page__container > div.forum-page_layout-header > div.forum-page_layout-header-top > div.tap-slide--activated.forum-page__tab-headers > div.tap-slide__wrap > div > a.forum-page__tab-header.tap-tab--active[href="/forum/follow"]) > div.layout-tabbar.box-border
!! ※当切换到动态标签页的「关注(的游戏)」子标签页时,隐藏其他子标签页入口
www.taptap.cn##:root > body > #__nuxt > div > main > div > div.forum-page__container > div.forum-page_layout-header > div.forum-page_layout-header-top > div.tap-slide--activated.forum-page__tab-headers > div.tap-slide__wrap > div:has(> a.forum-page__tab-header.tap-tab--active[href="/forum/follow"]) > :not(a:nth-child(1))
www.taptap.cn##:root > body > #__nuxt > div > main > div > div.forum-page__container > div.forum-page_layout-header > div.forum-page_layout-header-top > div.tap-slide--activated.forum-page__tab-headers > div.tap-slide__wrap > div:has(> a.forum-page__tab-header.tap-tab--active[href="/forum/follow/app"]) > :not(a:nth-child(1))
!#endif
!! ※当切换到动态标签页的「推荐」子标签时,隐藏动态瀑布流
www.taptap.cn##:root > body > #__nuxt > div > main > div > div.forum-page__container:has(> div.forum-page_layout-header > div.forum-page_layout-header-top > div.tap-slide--activated.forum-page__tab-headers > div.tap-slide__wrap > div > a.forum-page__tab-header.tap-tab--active[href="/forum/hot"]) > div.forum-page__tabs > div.forum-feed-list
!! 已关注游戏的投稿页脚框评分、下载、进入论坛
www.taptap.cn##:root > body > #__nuxt > div > main > div > div.moment-page:has(> div.moment-page__user-header > div.moment-header__follow-button > button.follow-button--following):has(> div.moment-page__content > div > div.moment-head__status > div > svg.official-icon) > div.moment-page__content > div.moment-page__ugc-pendant-card > div.tap-row-card > div.tap-row-card__contents > a.tap-router.pendant-card__go-to-group
www.taptap.cn##:root > body > #__nuxt > div > main > div > div.moment-page:has(> div.moment-page__user-header > div.moment-header__follow-button > button.follow-button--following):has(> div.moment-page__content > div > div.moment-head__status > div > svg.official-icon) > div.moment-page__content > div.moment-page__ugc-pendant-card > div.tap-row-card > div.tap-row-card__contents > div.app-row-card__features > div.app-row-card__rating
!#if env_mobile
www.taptap.cn##:root > body > #__nuxt > div > main > div > div.moment-page:has(> div.moment-page__user-header > div.moment-header__follow-button > button.follow-button--following):has(> div.moment-page__content > div > div.moment-head__status > div > svg.official-icon) > div.moment-page__content > div.moment-page__ugc-pendant-card > div.tap-row-card > div.tap-row-card__right > a.tap-router.open-app
!#endif
!! 游戏官方投稿的社区评论
www.taptap.cn##:root > body > #__nuxt > div > main > div > div.moment-page:has(> div.moment-page__content > div > div.moment-head__status > div > svg.official-icon) > div.moment-page__comment > div > div.moment-comment-list__tap-list > div.moment-post-item > div.moment-post-item__comments > div.moment-post:not(:has(> div.moment-post__header > a.user-avatar > div.user-avatar__verified > span > img[data-src="https://img.tapimg.com/market/images/e8fb44ab9fb5f5fe04a1474416f3c15e.png"]))
www.taptap.cn##:root > body > #__nuxt > div > main > div > div.moment-page:has(> div.moment-page__content > div > div.moment-head__status > div > svg.official-icon) > div.moment-page__comment > div > div.moment-comment-list__tap-list > div.moment-post-item > div.moment-post:not(:has(> div.moment-post__header > a.user-avatar > div.user-avatar__verified > span > img[data-src="https://img.tapimg.com/market/images/e8fb44ab9fb5f5fe04a1474416f3c15e.png"]))
bonus tip:
手机端用kiwi浏览器全屏播放包括Tap在内的的网页视频时,会出现竖屏播放的情况。可以用这个油猴脚本让kiwi全屏播放网页视频时自动横屏:https://lucidusdev.github.io/2023/12/15/fullscreen-video-android-kiwi-browser/
see also: