2

Stack Overflow 无法访问、访问速度慢的解决方案

 3 years ago
source link: https://www.bugcatt.com/archives/2067
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

因为大陆对Google进行了封锁, 所以大陆无法访问包含了Google域名的资源文件的页面, 即使能访问也过慢. Stack Overflow作为全球最大的技术问答平台, 无法访问是我们相当大的一个损失. 本篇文章就来记录几种解决方案.

打开调试控制台(F12), 访问 https://stackoverflow.com/ . 我们会发现有关Google的请求非常慢, 甚至无法访问. 如:

https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js

那么找到了原因, 我们就针对此问题进行解决即可!

Replace Google CDN

FireFox

直接安装插件即可 插件地址

Chrome/Edge等谷歌内核的浏览器:

点击下载插件, 并解压. 找到其中的chrome目录

打开浏览器, 输入chrome://extensions/

开启右上角的开发者模式或者Developer Mode:

紧接着点击加载已解压的扩展程序Load unpacked extension...:

StackOverflow-%E6%97%A0%E6%B3%95%E8%AE%BF%E9%97%AE%E3%80%81%E8%AE%BF%E9%97%AE%E9%80%9F%E5%BA%A6%E6%85%A2%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88-02.png

选择刚才下载的插件目录中的chrome目录.

关闭开发者模式.

再次访问Stack Overflow, 感受飞一样的速度吧!

justjavac / ReplaceGoogleCDN


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK