【本文转发自laoD博客,仅作个人使用说明,如有不适请联系删除】
https://laod.cn/hosts/2017-google-hosts.html
hosts所在文件夹:
- Windows 系统hosts位于 C:\Windows\System32\drivers\etc\hosts
- Android(安卓)系统hosts位于 /etc/hosts
- Mac(苹果电脑)系统hosts位于 /etc/hosts
- iPhone(iOS)系统hosts位于 /etc/hosts
- Linux系统hosts位于 /etc/hosts
- 绝大多数Unix系统都是在 /etc/hosts
你也可以用Notepad++ 自行转换文本编码和换行符格式。当然,老D分享的都转换好了。
注意: 若更新后,hosts 没有立即生效,请重置网络:
在系统设置内开关网络,或启用禁用飞行模式,或者重启、刷新DNS缓存、浏览器缓存。
注意:
Google、Gmail、维基百科、Twitter、Facebook等必须请用https加密方式打开。
一般这些网站都是SSL加密链接,如:谷歌学术:https://scholar.google.com/
另外可能有的地区&网络(铁通、联通)hosts无法正常使用,这个不是你我能左右的!
谷歌:https://www.google.com/ncr
谷歌香港:https://www.google.com.hk/ncr
Twitter:https://twitter.com/?lang=zh-cn
建议不要使用国产浏览器,国产软件也是,特别是360,因为国产浏览器即使你使用https
它也会强制你使用默认http,还有就是会上传用户数据,尽可能使用Chrome
【laoD博客】chrome 修改hosts
猜你喜欢
转载自blog.csdn.net/womenrendeme/article/details/77096624
今日推荐
周排行