index.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <link rel="stylesheet" href="../style.css#" type="text/css" />
  7. <title>加速访问国外网站</title>
  8. <script type="text/javascript">
  9. function findLang(){
  10. let href = location.href;
  11. for(let i=href.length-1;i>0;i--){
  12. if('/'==href.charAt(i) && '/'==href.charAt(i-3))
  13. return i;
  14. }
  15. return 0;
  16. }
  17. function nav2(page){
  18. let i = findLang();
  19. location.href = location.href.substring(0,i+1)+page;
  20. }
  21. function nav2Lang(lang){
  22. let i = findLang();
  23. let href = location.href;
  24. location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
  25. }
  26. </script>
  27. </head>
  28. <body>
  29. <header class='header'>
  30. <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>
  31. <nav>
  32. </nav>
  33. </header>
  34. <br />
  35. <div class="container">
  36. <h1 class="title">加速访问国外网站
  37. <br>
  38. <span class="subtitle"></span>
  39. </h1>
  40. <ul class="tags">
  41. <li><a href="../tags/%e4%b8%8d%e8%89%af%e4%bf%a1%e6%81%af%e5%b1%8f%e8%94%bd/index.html#">不良信息屏蔽</a> </li>
  42. <li><a href="../tags/%e5%9b%bd%e5%a4%96%e7%bd%91%e5%9d%80/index.html#">国外网址</a> </li>
  43. </ul>
  44. <p>不少国外网站本身虽可访问,但由于网站需要下载其它网址的资源而导致无法访问。根域名屏蔽可屏蔽文件中域名的一切子域名、孙域名、......,从而主动排除这些网址,最终允许浏览器快速访问。</p>
  45. <p>使用Android端<a href="..">uweb浏览器</a>。<br>
  46. 域名文件内容如下:<br>
  47. googleadservices.com<br>
  48. googlesyndication.com<br>
  49. adsense.com<br>
  50. googleapis.com<br>
  51. google-analytics.com<br>
  52. googletagservices.com<br>
  53. twitter.com<br>
  54. facebook.com<br>
  55. fbcdn.net</p>
  56. <p>其它国外网址访问技巧:</p>
  57. <ul>
  58. <li>尝试关闭javascript, 譬如程序员网站stackoverflow.com在关闭javascript的情况下国内一般均可快速访问。</li>
  59. <li>关闭网页图片</li>
  60. </ul>
  61. </div>
  62. <p>Last Modified: 2 April 2024<br>
  63. reorg for multi-languages<br>
  64. <pre></pre>
  65. </p>
  66. <script id='jsgiscus'
  67. src='https://giscus.app/client.js'
  68. data-repo="torappinfo/uweb"
  69. data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
  70. data-category="Announcements"
  71. data-category-id="DIC_kwDOEgNLGc4CQjsh"
  72. data-mapping="title"
  73. data-strict="0"
  74. data-reactions-enabled="1"
  75. data-emit-metadata="0"
  76. data-input-position="top"
  77. data-theme="light"
  78. data-lang="en"
  79. data-loading="lazy"
  80. crossorigin="anonymous" async>
  81. </script>
  82. <footer class="site-footer">
  83. <div class="container">
  84. &copy; 2018-2024 Richard H. Cao
  85. </div>
  86. </footer>
  87. <!-- This document is licensed under the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at <https://www.gnu.org/licenses/>. -->
  88. </body>
  89. </html>