V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
maskerTUI
V2EX  ›  问与答

有没办法替换浏览器中的特定网址?

  •  
  •   maskerTUI · 2015-10-18 02:38:41 +08:00 via Android · 2009 次点击
    这是一个创建于 3126 天前的主题,其中的信息可能已经有所发展或是发生改变。
    比如我要访问 a.com ,访问时会自动替换成 b.com,又比如加载某网页中的 c.com/pic.jpg 会自动替换成 d.com/pic.jpg ,
    由于 b.com 是个隧道,没有公网 IP ,所以似乎 host 不能解决这个问题,问一下有没有什么办法能实现此功能?
    4 条回复    2015-10-18 10:22:37 +08:00
    xfspace
        1
    xfspace  
       2015-10-18 02:47:15 +08:00 via Android
    试试反代?
    yeyeye
        2
    yeyeye  
       2015-10-18 05:34:13 +08:00   ❤️ 1
    https://github.com/jiacai2050/gooreplacer

    支持正则替换访问的网址 /资源
    Goooogle
        3
    Goooogle  
       2015-10-18 09:33:27 +08:00   ❤️ 1
    Chrome Redirector
    目前可下载地址 http://code.google.com/p/chrome-redirector/downloads/list

    https://github.com/chrome-redirector/chrome-redirector

    可以正则重定向 URL ,还可以修改 HTTP 头部
    比如重定向用来显示大图
    修改 UA 解决某些防盗链问题
    maskerTUI
        4
    maskerTUI  
    OP
       2015-10-18 10:22:37 +08:00
    @xfspace 这个用反代没思路呀


    @yeyeye 谢谢,这个好用,已经安装



    @Goooogle 谢谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5538 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 07:56 · PVG 15:56 · LAX 00:56 · JFK 03:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.