2019-11-12 08:00:21 +00:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head><meta name="generator" content="Hexo 3.8.0">
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
|
<meta name="google-site-verification" content="xBT4GhYoi5qRD5tr338pgPM5OWHHIDR6mNg1a3euekI">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
<meta name="description" content="">
|
|
|
|
|
<meta name="keyword" content="">
|
|
|
|
|
<link rel="shortcut icon" href="/uWeb/img/favicon.ico">
|
|
|
|
|
|
|
|
|
|
<title>
|
|
|
|
|
|
|
|
|
|
利用超级hosts绝杀广告
|
|
|
|
|
|
|
|
|
|
</title>
|
|
|
|
|
|
|
|
|
|
<!-- Custom CSS -->
|
|
|
|
|
<link rel="stylesheet" href="/uWeb/css/aircloud.css">
|
|
|
|
|
<link href="//at.alicdn.com/t/font_620856_pl6z7sid89qkt9.css" rel="stylesheet" type="text/css">
|
|
|
|
|
<!-- ga & ba script hoook -->
|
|
|
|
|
<script></script>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<div class="site-nav-toggle" id="site-nav-toggle">
|
|
|
|
|
<button>
|
|
|
|
|
<span class="btn-bar"></span>
|
|
|
|
|
<span class="btn-bar"></span>
|
|
|
|
|
<span class="btn-bar"></span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="index-about">
|
|
|
|
|
<i> </i>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="index-container">
|
|
|
|
|
|
|
|
|
|
<div class="index-left">
|
|
|
|
|
|
|
|
|
|
<div class="nav" id="nav">
|
|
|
|
|
<div class="contents" id="nav-content">
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/uWeb/">
|
|
|
|
|
<i class="iconfont icon-shouye1"></i>
|
2020-02-21 13:32:03 +00:00
|
|
|
|
<span>主页</span>
|
2019-11-12 08:00:21 +00:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/uWeb/tags">
|
|
|
|
|
<i class="iconfont icon-biaoqian1"></i>
|
2020-02-21 13:32:03 +00:00
|
|
|
|
<span>标签</span>
|
2019-11-12 08:00:21 +00:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/uWeb/archives">
|
|
|
|
|
<i class="iconfont icon-guidang2"></i>
|
2020-02-21 13:32:03 +00:00
|
|
|
|
<span>存档</span>
|
2019-11-12 08:00:21 +00:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="toc" class="toc-article">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="search-field" id="search-field">
|
|
|
|
|
<div class="search-container">
|
|
|
|
|
<div class="search-input">
|
|
|
|
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
|
|
|
|
<input id="search-input">
|
2020-02-21 13:32:03 +00:00
|
|
|
|
<span id="begin-search">搜索</span>
|
2019-11-12 08:00:21 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="search-result-container" id="search-result-container">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="index-about-mobile">
|
|
|
|
|
<i> </i>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="index-middle">
|
|
|
|
|
<!-- Main Content -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-title">
|
|
|
|
|
利用超级hosts绝杀广告
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="post-meta">
|
2020-02-21 13:32:03 +00:00
|
|
|
|
<span class="attr">发布于:<span>2019-06-05 17:55:34</span></span>
|
2019-11-12 08:00:21 +00:00
|
|
|
|
|
2020-02-21 13:32:03 +00:00
|
|
|
|
<span class="attr">标签:/
|
2019-11-12 08:00:21 +00:00
|
|
|
|
|
|
|
|
|
<a class="tag" href="/uWeb/tags/#广告屏蔽" title="广告屏蔽">广告屏蔽</a>
|
|
|
|
|
<span>/</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-content ">
|
|
|
|
|
<p>超级hosts文件可屏蔽文件中域名的一切子域名、孙域名、……,可彻底绝杀一切广告。所以用户屏蔽根域名时无需选择提示中出现的整个域名,<span style="color:red">只需选取最后两段或三段</span>(少数很短的域名可取四段)。</p>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>长按广告链接,点击“图片:屏蔽根域名”,修改弹出域名,一般取最后两段,点击”确定”屏蔽当前图片网址。</li>
|
|
|
|
|
<li>部分广告没有链接可长按,或虽有链接但长按时不出现图片相关菜单。此时可长按[JS]点击”背景图片”或”看图模式”,再长按广告链接点击“图片:屏蔽根域名”,屏蔽图片网址。</li>
|
2019-11-15 02:54:01 +00:00
|
|
|
|
<li>可长按设置开启”资源嗅探”,推荐设置文件”/sdcard/uweb/types.sniff”内容为js,刷新网页后关闭”资源嗅探”选项。在弹出的资源网页上长按链接,屏蔽根域名。</li>
|
2019-11-12 08:00:21 +00:00
|
|
|
|
<li><p>(可选) 长按广告链接,点击“屏蔽根域名”,屏蔽链接网址。</p>
|
|
|
|
|
</li>
|
|
|
|
|
<li><p>(可选) 某些广告靠javascript激发,链接中不出现域名,可点击激发至新网址后将新网址根域名屏蔽。</p>
|
|
|
|
|
</li>
|
|
|
|
|
<li><p>超级hosts文件支持域名及整个网址正则表达式<br>default.hosts文件格式每行如下:<br>根域名[空格]域名前缀正则表达式[空格]网址路径正则表达式<br>空格及后面两个正则表达式为可选择项。</p>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
2020-02-21 13:32:03 +00:00
|
|
|
|
<p>部分国内大厂广告 (将下列内容放入/sdcard/uweb/default.hosts,<a target="_self" href="i:0bhttp://jamesfengcao.gitee.io/searchurl/default.hosts.tar.gz">点击本链接自动用以下内容覆盖default.hosts</a>):<br>lianmeng.360.cn<br>appjiagu.com<br>adm-cnzz.net<br>alimama.com<br>ipinyou.com<br>mct01.com<br>tanx.com<br>wrating.com<br>cpro.baidu.com<br>pos.baidu.com<br>share.baidu.com<br>bcebos.com<br>e.qq.com<br>gdt.qq.com<br>l.qq.com<br>push.qq.com<br>beacon.sina.com.cn<br>mix.sina.com.cn<br>go.sohu.com<br>inte.sogou.com<br>epro.sogou.com<br>golden1.sogou.com<br>uranus.sogou.com<br>inte.sogoucdn.com<br>lu.sogoucdn.com<br>theta.sogoucdn.com<br>ad.xiaomi.com</p>
|
2019-11-12 08:00:21 +00:00
|
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
<div id="comment-container">
|
|
|
|
|
</div>
|
|
|
|
|
<div id="disqus_thread"></div>
|
|
|
|
|
|
|
|
|
|
<div id="lv-container">
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="footer">
|
|
|
|
|
<ul class="list-inline text-center">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
// We expose some of the variables needed by the front end
|
|
|
|
|
window.hexo_search_path = ""
|
|
|
|
|
window.hexo_root = "/uWeb/"
|
|
|
|
|
window.isPost = true
|
|
|
|
|
</script>
|
|
|
|
|
<script src="/uWeb/js/index.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</html>
|