2020-04-29 08:37:43 +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>
|
|
|
|
|
|
|
|
|
|
利用用户自定义样式屏蔽广告
|
|
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
<span>HOME</span>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/uWeb/tags">
|
|
|
|
|
<i class="iconfont icon-biaoqian1"></i>
|
|
|
|
|
<span>TAGS</span>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/uWeb/archives">
|
|
|
|
|
<i class="iconfont icon-guidang2"></i>
|
|
|
|
|
<span>ARCHIVES</span>
|
|
|
|
|
</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">
|
|
|
|
|
<span id="begin-search">search</span>
|
|
|
|
|
</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">
|
|
|
|
|
利用用户自定义样式屏蔽广告
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="post-meta">
|
|
|
|
|
<span class="attr">Post:<span>2019-06-05 17:55:34</span></span>
|
|
|
|
|
|
|
|
|
|
<span class="attr">Tags:/
|
|
|
|
|
|
|
|
|
|
<a class="tag" href="/uWeb/tags/#广告屏蔽" title="广告屏蔽">广告屏蔽</a>
|
|
|
|
|
<span>/</span>
|
|
|
|
|
|
|
|
|
|
<a class="tag" href="/uWeb/tags/#css" title="css">css</a>
|
|
|
|
|
<span>/</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-content ">
|
|
|
|
|
<p><a href="https://www.coolapk.com/apk/info.torapp.uweb" target="_blank" rel="noopener">超微浏览器</a>支持超级hosts文件,这一技术可以完全绝杀手机广告小厂。但少部分广告大厂本身也提供高质量的内容服务,它们可以将广告伪装成正常的内容从而逃脱hosts文件绝杀。<br>对这一部分广告而言,我们可以利用超微浏览器的自定义样式功能加以屏蔽。</p>
|
|
|
|
|
<p>下载下面文件(可改名成“广告屏蔽.css”),将其放到/scard/uweb/css目录下:<br><a href="http://www.floppymoose.com/userContent.css" target="_blank" rel="noopener">广告屏蔽css文件</a></p>
|
|
|
|
|
<p>重启浏览器,长按底部工具条[☰]按钮弹出对话框后勾选上述文件名即可屏蔽广告。</p>
|
|
|
|
|
|
|
|
|
|
<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>
|