5 <meta name=
"viewport" content=
"width=device-width, initial-scale=1" />
6 <link rel=
"canonical" href=
"https://jamesfengcao.gitlab.io/uweb/zh/adblock_css/" />
8 <link rel=
"stylesheet" href=
"../style.css#" type=
"text/css" />
9 <title>利用用户自定义样式屏蔽不良信息
</title>
12 let href
= location
.href
;
13 for(let i
=href
.length
-1;i
>0;i
--){
14 if('/'==href
.charAt(i
) && '/'==href
.charAt(i
-3))
21 location
.href
= location
.href
.substring(0,i
+1)+page
;
23 function nav2Lang(lang
){
25 let href
= location
.href
;
26 location
.href
= location
.href
.substring(0,i
-2)+lang
+location
.href
.substring(i
);
31 <header class='header'
>
32 <a class=
"logo" href=
"javascript:void(0)" onclick=
"return nav2('index.html#')">Home
</a> <a class=
"logo" href=
"javascript:void(0)" onclick=
"return nav2('tags/index.html#')">Tags
</a>
39 <div class=
"container">
40 <h1 class=
"title">利用用户自定义样式屏蔽不良信息
42 <span class=
"subtitle"></span>
46 <li><a href=
"../tags/%e4%b8%8d%e8%89%af%e4%bf%a1%e6%81%af%e5%b1%8f%e8%94%bd/index.html#">不良信息屏蔽
</a> </li>
48 <li><a href=
"../tags/css/index.html#">css
</a> </li>
51 <p>点击以下链接可安装全局样式,清后台重启浏览器,长按底部工具条窗口按钮弹出对话框后勾选上述文件名即可屏蔽不良信息。
<br>
52 <a href=
"i:0hcss/floppymoose.css:http://www.floppymoose.com/userContent.css">floppymoose 广告屏蔽样式
</a><br>
53 <a href=
"i:0hcss/gozer.css:https://www.gozer.org/mozilla/ad_blocking/css/ad_blocking.css">gozer 广告屏蔽样式
</a></p>
54 <p><a href=
"../index.html#">超微浏览器
</a>支持
<a href=
"../adblock_domain/index.html">根域名屏蔽
</a>,完全绝杀手机不良信息小厂。但少部分不良信息大厂本身也提供高质量的内容服务,它们可以将不良信息伪装成正常的内容从而逃脱域名绝杀。
<br>
55 对这一部分不良信息而言,我们可以利用超微浏览器的自定义样式功能加以屏蔽。
</p>
58 <p>Last Modified:
2 April
2024<br>
59 add js function in README
<br>
64 src='https://giscus.app/client.js'
65 data-repo=
"torappinfo/uweb"
66 data-repo-id=
"MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
67 data-category=
"Announcements"
68 data-category-id=
"DIC_kwDOEgNLGc4CQjsh"
71 data-reactions-enabled=
"1"
72 data-emit-metadata=
"0"
73 data-input-position=
"top"
77 crossorigin=
"anonymous" async
>
80 <footer class=
"site-footer">
81 <div class=
"container">
82 © 2018-
2024 Richard H. Cao
85 <!-- This document is licensed under the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at <https://www.gnu.org/licenses/>. -->