simple_plan
V2EX  ›  问与答

怎么监听游览器网址?

  •  
  •   simple_plan · May 29, 2011 · 5703 views
    This topic created in 5648 days ago, the information mentioned may be changed or developed.
    怎么监听游览器网址?然后对特定的网址进行跳转?
    比如一访问http://www.baidu.com/ 就跳转到http://www.google.com.hk/。。。
    用java的HttpClient??
    8 replies  •  1970-01-01 08:00:00 +08:00
    ldcr99
    ldcr99
    May 29, 2011
    1
    貌似是dns的作用....(可能)

    因为我在网吧使用google的时候 往往点击搜索结果会被重置到baidu主页..而不是lz所说的这种主页就直接跳...

    我想,如果没有网吧的主页服务,baidu的流量会跌多少.

    而看到很多也已经开始使用soso了...囧
    simple_plan
    simple_plan
    OP
    May 29, 2011
    2
    @ldcr99 谢谢~ 不过我是想实现这功能 不是说我的游览器有这问题~~~
    reus
    reus
    May 30, 2011
    3
    改hosts,把baidu.com解释到google的ip。。。
    simple_plan
    simple_plan
    OP
    May 30, 2011
    4
    @reus 谢谢 上面的是我的一个举例~ 我想把http://abc.com 换成随意的我想要的 http://i_want.com~
    骨耐先。
    POPOEVER
    POPOEVER
    May 30, 2011
    5
    直接在路由器上设置转发吧
    simple_plan
    simple_plan
    OP
    May 30, 2011
    7
    @chone IE的咋办?
    fanzeyi
    fanzeyi
    May 30, 2011
    8
    自架 DNS Server = =
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1849 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 06:46 · PVG 14:46 · LAX 22:46 · JFK 01:46
    ♥ Do have faith in what you're doing.