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>利用超级hosts文件加速访问国外网站</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-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">
|
|
|
|
|
<h1 class="title">利用超级hosts文件加速访问国外网站
|
|
|
|
|
<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/%E5%9B%BD%E5%A4%96%E7%BD%91%E5%9D%80">国外网址</a> </li>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
|
2020-05-09 14:42:57 +00:00
|
|
|
|
</ul>
|
|
|
|
|
<p>不少国外网站本身虽可访问,但由于网站需要下载google,<br>
|
|
|
|
|
facebook等屏蔽网址的资源而导致无法访问。超级hosts文件可屏蔽文件中域名的一切子域名、孙域名、......,从而主动屏蔽这些网址,最终允许浏览器快速访问合法网站。</p>
|
|
|
|
|
<p>使用Android端<a href="..">uweb浏览器</a>。<br>
|
|
|
|
|
/sdcard/uweb/default.hosts内容如下:<br>
|
|
|
|
|
googleadservices.com<br>
|
|
|
|
|
googlesyndication.com<br>
|
|
|
|
|
adsense.com<br>
|
|
|
|
|
google.com<br>
|
|
|
|
|
google-analytics.com<br>
|
|
|
|
|
googletagservices.com<br>
|
|
|
|
|
twitter.com<br>
|
|
|
|
|
facebook.com<br>
|
|
|
|
|
fbcdn.net</p>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
<p>其它国外网址访问技巧:</p>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>尝试关闭javascript, 譬如程序员网站stackoverflow.com在关闭javascript的情况下国内一般均可快速访问。</li>
|
|
|
|
|
<li>关闭网页图片</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
2020-05-09 14:42:57 +00:00
|
|
|
|
</body>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
</html>
|