cleanup
[uweb.git] / zh / adblock_css / index.html
blob6382fb044a7ba73876828c9b2bcf5b28b0edfa43
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
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>
10 <script>
11 function findLang(){
12 let href = location.href;
13 for(let i=href.length-1;i>0;i--){
14 if('/'==href.charAt(i) && '/'==href.charAt(i-3))
15 return i;
17 return 0;
19 function nav2(page){
20 let i = findLang();
21 location.href = location.href.substring(0,i+1)+page;
23 function nav2Lang(lang){
24 let i = findLang();
25 let href = location.href;
26 location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
28 </script>
29 </head>
30 <body>
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>
34 <nav>
35 </nav>
36 </header>
37 <br />
39 <div class="container">
40 <h1 class="title">利用用户自定义样式屏蔽不良信息
41 <br>
42 <span class="subtitle"></span>
43 </h1>
44 <ul class="tags">
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>
50 </ul>
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>
57 </div>
58 <p>Last Modified: 2 April 2024<br>
59 add js function in README<br>
60 <pre></pre>
61 </p>
63 <script id='jsgiscus'
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"
69 data-mapping="title"
70 data-strict="0"
71 data-reactions-enabled="1"
72 data-emit-metadata="0"
73 data-input-position="top"
74 data-theme="light"
75 data-lang="en"
76 data-loading="lazy"
77 crossorigin="anonymous" async>
78 </script>
80 <footer class="site-footer">
81 <div class="container">
82 &copy; 2018-2024 Richard H. Cao
83 </div>
84 </footer>
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/>. -->
88 </body>
89 </html>