commoccoom
V2EX  ›  问与答

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

  •  
  •   commoccoom · Aug 10, 2014 · 6056 views
    This topic created in 4468 days ago, the information mentioned may be changed or developed.
    把
    *://*.googleapis.com.*/*
    换成
    .*://.*[^(translate)]\.googleapis\.com/.*
    并且把对应条目的匹配模式由“通配符”切换成“正则表达式”

    这个方法好像无效啊

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

    在switchysharp上,这样的规则*://*google*/*,是没有问题的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5353 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 66ms · UTC 03:43 · PVG 11:43 · LAX 19:43 · JFK 22:43
    ♥ Do have faith in what you're doing.