2020-05-09 14:42:57 +00:00
|
|
|
|
<!doctype html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
<meta charset="utf-8">
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2020-04-29 08:37:43 +00:00
|
|
|
|
|
2020-05-12 09:50:03 +00:00
|
|
|
|
<link rel="stylesheet" href="https://jamesfengcao.gitee.io/uweb/style.css" type="text/css" />
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<title>利用用户自定义样式屏蔽广告</title>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<header class='header'>
|
2020-05-12 09:50:03 +00:00
|
|
|
|
<a class="logo" href="..">⟰</a> <a class="logo" href="https://jamesfengcao.gitee.io/uweb//tags/">Tags</a>
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<nav>
|
|
|
|
|
</nav>
|
|
|
|
|
</header>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<div class="container">
|
|
|
|
|
<h1 class="title">利用用户自定义样式屏蔽广告
|
|
|
|
|
<br>
|
|
|
|
|
<span class="subtitle"></span>
|
|
|
|
|
</h1>
|
|
|
|
|
<ul class="tags">
|
2020-04-29 08:37:43 +00:00
|
|
|
|
|
2020-05-12 09:50:03 +00:00
|
|
|
|
<li><a href="https://jamesfengcao.gitee.io/uweb/tags/%E5%B9%BF%E5%91%8A%E5%B1%8F%E8%94%BD">广告屏蔽</a> </li>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
|
2020-05-12 09:50:03 +00:00
|
|
|
|
<li><a href="https://jamesfengcao.gitee.io/uweb/tags/css">css</a> </li>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
|
2020-05-09 14:42:57 +00:00
|
|
|
|
</ul>
|
|
|
|
|
<p><a href="https://www.coolapk.com/apk/info.torapp.uweb">超微浏览器</a>支持超级hosts文件,这一技术可以完全绝杀手机广告小厂。但少部分广告大厂本身也提供高质量的内容服务,它们可以将广告伪装成正常的内容从而逃脱hosts文件绝杀。<br>
|
|
|
|
|
对这一部分广告而言,我们可以利用超微浏览器的自定义样式功能加以屏蔽。</p>
|
|
|
|
|
<p>下载下面文件(可改名成“广告屏蔽.css”),将其放到/scard/uweb/css目录下:<br>
|
|
|
|
|
<a href="http://www.floppymoose.com/userContent.css">广告屏蔽css文件</a></p>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
<p>重启浏览器,长按底部工具条[☰]按钮弹出对话框后勾选上述文件名即可屏蔽广告。</p>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
2020-05-09 14:42:57 +00:00
|
|
|
|
</body>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
</html>
|