V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
boro
V2EX  ›  问与答

medium 是故意屏蔽了谷歌翻译的么?

  •  
  •   boro · Apr 11, 2016 · 3573 views
    This topic created in 3668 days ago, the information mentioned may be changed or developed.
    medium 的页面,谷歌翻译一直无法翻译。 github 也是,无法整页使用谷歌翻译。它们是做了那些设置? 有哪位知道什么原因吗?

    谢谢!
    7 replies    2016-04-11 23:00:12 +08:00
    gamexg
        1
    gamexg  
       Apr 11, 2016 via Android
    github 通过新特征(记不住名字了,看 http 头)限制了 html 嵌入 js 、图片的域名,所以 js 类型的无法使用。
    alect
        2
    alect  
       Apr 11, 2016
    我这里可以。。
    alect
        3
    alect  
       Apr 11, 2016
    Slienc7
        4
    Slienc7  
       Apr 11, 2016 via Android
    "Refused to load the stylesheet 'https://translate.googleapis.com/translate_static/css/translateelement.css' because it violates the following Content Security Policy directive: "style-src 'unsafe-inline' assets-cdn.github.com". "
    然而还是成功翻译
    lizheming
        5
    lizheming  
       Apr 11, 2016
    @gamexg content-security-policy
    audi
        6
    audi  
       Apr 11, 2016
    windows 下中文字体丑爆了
    wql
        7
    wql  
       Apr 11, 2016 via Android
    CSP 和 X-Frame-Options
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5521 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 66ms · UTC 01:23 · PVG 09:23 · LAX 18:23 · JFK 21:23
    ♥ Do have faith in what you're doing.