gnup
V2EX  ›  Google

hosts 屏蔽谷歌后,反而能快速打开一些国外网站

  •  
  •   gnup · Jan 2, 2015 · 7324 views
    This topic created in 4325 days ago, the information mentioned may be changed or developed.

    下面6行保存成 a.bat 然后运行
    @echo off
    echo. >>c:\windows\system32\drivers\etc\hosts
    echo 0.0.0.0 www.google.com >>%winrdir%\system32\drivers\etc\hosts
    echo 0.0.0.0 apis.google.com >>%winrdir%\system32\drivers\etc\hosts
    echo 0.0.0.0 fonts.googleapis.com >>%winrdir%\system32\drivers\etc\hosts
    echo 0.0.0.0 ajax.googleapis.com >>%winrdir%\system32\drivers\etc\hosts

    比如
    http://distrowatch.com/
    http://www.wowhead.com/
    ...
    ...
    不用卡在连Google上,有些网站很快就打开了。
    还有什么域名可以屏蔽的吗?

    11 replies  •  2015-01-04 17:05:39 +08:00
    aiwha
    aiwha
    Jan 2, 2015 via Android
    1
    广告推广、流量统计之类的干掉,当然会快些了,不过用0.0.0.0不好吧?最好是127.0 .0.1。。。。
    jings
    jings
    Jan 2, 2015 via Android
    2
    屏蔽谷歌。。。
    Showfom
    Showfom
    PRO
    Jan 2, 2015
    3
    你这样的话很多国外网站的 jQuery 都无法加载咯
    skydiver
    skydiver
    Jan 2, 2015
    4
    @aiwha 127.0.0.1没法保证屏蔽,因为本地可能部署有http srv
    loading
    loading
    Jan 2, 2015 via iPad
    5
    希望有人能写个浏览器扩展,rewrite google的各种库。
    Mavious
    Mavious
    Jan 2, 2015 via Android
    6
    用adblockplus干掉几个谷歌api就行了,国外论坛速度快好多。
    wulongqiu
    wulongqiu
    Jan 2, 2015
    7
    主要是 Google Fonts,次之是 Google 提供的 jQuery 之类的公共 CDN,Google Adsense 和 Google 统计可以异步加载,影响不算大的。
    2twoOwO
    2twoOwO
    Jan 2, 2015
    9
    我直接把后面那几个域名加到autoproxy里,至于谷歌的统计、广告,我火狐装了NoSctipt禁止这些域名运行脚本,另外还有Ghostery屏蔽各种跟踪
    xinhugo
    xinhugo
    Jan 2, 2015
    10
    环球时报|若Gmail为中方所封 使用者应接受现实
    yexm0
    yexm0
    Jan 4, 2015
    11
    所以现在就出来各种完全屏蔽google服务的插件了.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4564 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 56ms · UTC 09:38 · PVG 17:38 · LAX 01:38 · JFK 04:38
    ♥ Do have faith in what you're doing.