mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
73 lines
2.3 KiB
HTML
73 lines
2.3 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<link rel="stylesheet" href="../style.css" type="text/css" />
|
|
<title>加速访问国外网站</title>
|
|
<script type="text/javascript">
|
|
function findLang(){
|
|
let href = location.href;
|
|
for(let i=href.length-1;i>0;i--){
|
|
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
|
|
return i;
|
|
}
|
|
return 0;
|
|
}
|
|
function nav2(page){
|
|
let i = findLang();
|
|
location.href = location.href.substring(0,i+1)+page;
|
|
}
|
|
function nav2Lang(lang){
|
|
let i = findLang();
|
|
let href = location.href;
|
|
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<header class='header'>
|
|
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html')">Tags</a>
|
|
|
|
<nav>
|
|
</nav>
|
|
</header>
|
|
<br />
|
|
|
|
<div class="container">
|
|
<h1 class="title">加速访问国外网站
|
|
<br>
|
|
<span class="subtitle"></span>
|
|
</h1>
|
|
<ul class="tags">
|
|
|
|
<li><a href="../tags/%e4%b8%8d%e8%89%af%e4%bf%a1%e6%81%af%e5%b1%8f%e8%94%bd">不良信息屏蔽</a> </li>
|
|
|
|
<li><a href="../tags/%e5%9b%bd%e5%a4%96%e7%bd%91%e5%9d%80">国外网址</a> </li>
|
|
|
|
</ul>
|
|
<p>不少国外网站本身虽可访问,但由于网站需要下载其它网址的资源而导致无法访问。根域名屏蔽可屏蔽文件中域名的一切子域名、孙域名、......,从而主动排除这些网址,最终允许浏览器快速访问。</p>
|
|
<p>使用Android端<a href="..">uweb浏览器</a>。<br>
|
|
域名文件内容如下:<br>
|
|
googleadservices.com<br>
|
|
googlesyndication.com<br>
|
|
adsense.com<br>
|
|
googleapis.com<br>
|
|
google-analytics.com<br>
|
|
googletagservices.com<br>
|
|
twitter.com<br>
|
|
facebook.com<br>
|
|
fbcdn.net</p>
|
|
<p>其它国外网址访问技巧:</p>
|
|
<ul>
|
|
<li>尝试关闭javascript, 譬如程序员网站stackoverflow.com在关闭javascript的情况下国内一般均可快速访问。</li>
|
|
<li>关闭网页图片</li>
|
|
</ul>
|
|
|
|
</div>
|
|
<p>Last Modified: 24 September 2022<br>
|
|
<span style="color:red">reorg for multi-languages</span> (not very accurate)</p>
|
|
|
|
</body>
|
|
</html>
|