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-11-13 09:30:50 +00:00
|
|
|
|
<link rel="stylesheet" href="/uwebzh/style.css" type="text/css" />
|
2020-11-14 14:37:07 +00:00
|
|
|
|
<title>利用超级hosts绝杀不良信息</title>
|
2020-05-09 14:42:57 +00:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<header class='header'>
|
2020-11-13 09:30:50 +00:00
|
|
|
|
<a class="logo" href="/uwebzh">Home</a> <a class="logo" href="/uwebzh/tags/">Tags</a>
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<nav>
|
|
|
|
|
</nav>
|
|
|
|
|
</header>
|
2020-08-29 00:42:46 +00:00
|
|
|
|
<br />
|
2020-04-29 08:37:43 +00:00
|
|
|
|
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<div class="container">
|
2020-11-14 14:37:07 +00:00
|
|
|
|
<h1 class="title">利用超级hosts绝杀不良信息
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<br>
|
|
|
|
|
<span class="subtitle"></span>
|
|
|
|
|
</h1>
|
|
|
|
|
<ul class="tags">
|
2020-04-29 08:37:43 +00:00
|
|
|
|
|
2020-11-14 14:37:07 +00:00
|
|
|
|
<li><a href="../tags/%e4%b8%8d%e8%89%af%e4%bf%a1%e6%81%af%e5%b1%8f%e8%94%bd">不良信息屏蔽</a> </li>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
|
2020-05-09 14:42:57 +00:00
|
|
|
|
</ul>
|
2020-11-14 14:37:07 +00:00
|
|
|
|
<p>超级hosts文件可屏蔽文件中域名的一切子域名、孙域名、......,可彻底绝杀一切不良信息。所以用户屏蔽根域名时无需选择提示中出现的整个域名,<span style="color:red">只需选取最后两段或三段</span>(少数很短的域名可取四段)。</p>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
<ul>
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<li>
|
2020-11-14 14:37:07 +00:00
|
|
|
|
<p>长按不良信息链接,点击“图片:屏蔽根域名”,修改弹出域名,一般取最后两段,点击"确定"屏蔽当前图片网址。</p>
|
2020-05-09 14:42:57 +00:00
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2020-11-14 14:37:07 +00:00
|
|
|
|
<p>部分不良信息没有链接可长按,或虽有链接但长按时不出现图片相关菜单。此时可长按[JS]点击"背景图片"或"看图模式",再长按不良信息链接点击“图片:屏蔽根域名”,屏蔽图片网址。</p>
|
2020-05-09 14:42:57 +00:00
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<p>可长按设置开启"资源嗅探",推荐设置文件"/sdcard/uweb/types.sniff"内容为js,刷新网页后关闭"资源嗅探"选项。在弹出的资源网页上长按链接,屏蔽根域名。</p>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
</li>
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<li>
|
2020-11-14 14:37:07 +00:00
|
|
|
|
<p>(可选) 长按不良信息链接,点击“屏蔽根域名”,屏蔽链接网址。</p>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
</li>
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<li>
|
2020-11-14 14:37:07 +00:00
|
|
|
|
<p>(可选) 某些不良信息靠javascript激发,链接中不出现域名,可点击激发至新网址后将新网址根域名屏蔽。</p>
|
2020-05-09 14:42:57 +00:00
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<p>超级hosts文件支持域名及整个网址正则表达式<br>
|
|
|
|
|
default.hosts文件格式每行如下:<br>
|
|
|
|
|
根域名[空格]域名前缀正则表达式[空格]网址路径正则表达式<br>
|
2020-08-21 01:39:16 +00:00
|
|
|
|
空格及后面两个正则表达式为可选择项。正则表达式采用java标准。</p>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
2021-08-20 01:56:48 +00:00
|
|
|
|
<p><a target="_self" href="i:0bhttp://cdn.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/default.hosts.tar.gz">点击本链接自动用样例覆盖default.hosts</a></p>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
2020-05-09 14:42:57 +00:00
|
|
|
|
</body>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
</html>
|