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

怎样使 chrome 自带的翻译功能走代理呢

  •  
  •   commoccoom · 2014-08-10 17:38:31 +08:00 · 5067 次点击
    这是一个创建于 3562 天前的主题,其中的信息可能已经有所发展或是发生改变。

    *://*.googleapis.com.*/*
    换成
    .*://.*[^(translate)]\.googleapis\.com/.*
    并且把对应条目的匹配模式由“通配符”切换成“正则表达式”

    这个方法好像无效啊

    扩展程序方式不考虑,因为已经装了~。~
    11 条回复    2014-09-04 11:22:22 +08:00
    zts1993
        1
    zts1993  
       2014-08-10 18:12:11 +08:00   ❤️ 1
    *://*google*/*
    我一般用这个
    commoccoom
        2
    commoccoom  
    OP
       2014-08-10 18:17:29 +08:00
    @zts1993
    试了,不行~。~
    ytzong
        3
    ytzong  
       2014-08-10 18:20:30 +08:00 via iPhone
    即使网络通畅,也要点一次重试才能翻译成功
    commoccoom
        4
    commoccoom  
    OP
       2014-08-10 18:25:40 +08:00
    @zts1993
    重试几次好像可以了,谢谢!
    commoccoom
        5
    commoccoom  
    OP
       2014-08-10 18:26:01 +08:00
    @ytzong
    好像是这样,谢谢!
    Apollo520
        6
    Apollo520  
       2014-08-10 19:18:58 +08:00
    通配符 google
    秒翻
    xifangczy
        7
    xifangczy  
       2014-08-10 20:01:28 +08:00
    *://*.googleapis.com/*
    xifangczy
        8
    xifangczy  
       2014-08-10 20:04:25 +08:00   ❤️ 1
    .*://.*[^(translate)]\.googleapis\.com/.*
    当然不行...打回重学正则
    commoccoom
        9
    commoccoom  
    OP
       2014-08-10 23:21:32 +08:00
    @xifangczy
    这是知乎上看到的,我也不知道什么是通配,什么是正则。
    kiah
        10
    kiah  
       2014-08-11 10:13:20 +08:00
    我也想知道
    huage
        11
    huage  
       2014-09-04 11:22:22 +08:00
    @xifangczy

    在switchysharp上,这样的规则*://*google*/*,是没有问题的
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1194 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 81ms · UTC 18:27 · PVG 02:27 · LAX 11:27 · JFK 14:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.