boro
V2EX  ›  问与答

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

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

    谢谢!
    7 replies  •  2016-04-11 23:00:12 +08:00
    gamexg
    gamexg
    Apr 11, 2016 via Android
    1
    github 通过新特征(记不住名字了,看 http 头)限制了 html 嵌入 js 、图片的域名,所以 js 类型的无法使用。
    alect
    alect
    Apr 11, 2016
    2
    我这里可以。。
    alect
    alect
    Apr 11, 2016
    3
    Slienc7
    Slienc7
    Apr 11, 2016 via Android
    4
    "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
    lizheming
    Apr 11, 2016
    5
    @gamexg content-security-policy
    audi
    audi
    Apr 11, 2016
    6
    windows 下中文字体丑爆了
    wql
    wql
    Apr 11, 2016 via Android
    7
    CSP 和 X-Frame-Options
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4175 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 08:50 · PVG 16:50 · LAX 00:50 · JFK 03:50
    ♥ Do have faith in what you're doing.