V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
lanceli
V2EX  ›  分享创造

[福利] Redirector safari 扩展 redirect and block any http request 求小白鼠

  •  
  •   lanceli ·
    lanceli · 2014-06-18 15:26:24 +08:00 · 6874 次点击
    这是一个创建于 3571 天前的主题,其中的信息可能已经有所发展或是发生改变。
    > 重定向某些资源载入 免翻 比如 fonts.googleapis.com->fonts.useso.com
    >
    > 阻止某些资源的载入 比如 运营商广告

    下载链接: http://lanceli.github.io/redirector/redirector-0.1.0.safariextz

    ## 用法

    Redirect:

    ```
    from_url,to_url
    ajax.googleapis.com,ajax.useso.com
    fonts.googleapis.com,fonts.useso.com
    ```

    Block:

    ```
    symboltech.*
    ```

    * 规则支持正则;
    * 规则中如包含超过一个逗号, 该规则失效;
    * 如规则重复, 第一个匹配生效;

    ## 已知问题

    * 暂不支持ajax等异步的资源
    * 重定向现只支持js css img
    * 没icon (求icon 256x256)


    github: https://lanceli.github.io/redirector

    chrome用户出门左转: Switcheroo Redirector

    https://chrome.google.com/webstore/detail/switcheroo-redirector/cnmciclhnghalnpfhhleggldniplelbg
    第 1 条附言  ·  2014-07-08 15:33:23 +08:00
    7 条回复    2019-05-23 11:57:27 +08:00
    zjgood
        1
    zjgood  
       2014-06-18 15:34:50 +08:00 via Android
    Good job!
    caomu
        2
    caomu  
       2014-06-18 16:10:36 +08:00
    之前用这个扩展 http://code.google.com/p/chrome-redirector/ 好像已经从商店下架了,这个还能修改HTTP头,唯一的问题就是规则不能超过15条(bug)。。。
    lanceli
        3
    lanceli  
    OP
       2014-06-19 09:40:00 +08:00
    @caomu 恩 商店里有找过一圈, 只找到提到的那个满足需求
    另外chrome下还是好搞的, 有api支持redirect, safari下需要hack, 满满的坑
    librehat
        4
    librehat  
       2014-07-17 10:36:16 +08:00
    Firefox用户有得用吗?
    lanceli
        5
    lanceli  
    OP
       2014-07-17 10:38:18 +08:00
    @librehat firefox木有类似的吗 我去看看
    isaced
        6
    isaced  
       2014-07-24 11:57:59 +08:00
    不错!
    dalieba
        7
    dalieba  
       2019-05-23 11:57:27 +08:00 via Android
    @librehat 同问
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1007 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:03 · PVG 06:03 · LAX 15:03 · JFK 18:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.