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

悬赏 100 元,如何在老版本 Chrome 上正常访问 github

  •  
  •   IdontWanToBeBan · 2019-01-14 16:26:37 +08:00 · 1162 次点击
    这是一个创建于 1934 天前的主题,其中的信息可能已经有所发展或是发生改变。

    使用老版本的 Chrome 访问 Github 的时候,会收到” github 不再支持你的浏览器“的通告,这个时候,github 的 activities 无法加载,然后 issue 等许多地方都无法被编辑

    之前还可以用修改 user-agent 的方法来欺骗一下 Github,但是最近 Github 不知道搞了什么鬼,反正这个方法是没用了,使用了这个方法之后,虽然说 Github 不再有任何提示,但是症状和不修改 user-agent 之前一样

    F12 可以看到如下错误

    Frameworks-be15e106b4a7518f3a8ee2f63fa595ba.js:1 Uncaught SyntaxError: Unexpected token function

    Github-a004f249d4a217e23cc0ccd89aa8f76c.js:1 Uncaught SyntaxError: Unexpected token function

    这俩文件的地址是

    Frameworks-be15e106b4a7518f3a8ee2f63fa595ba.js

    Github-a004f249d4a217e23cc0ccd89aa8f76c.js

    然后我还去找了下相关的油猴脚本,然后找到了这个

    然而使用之后症状还是一样,只不过错误变了,变成了

    userscript.html?id=7a7d91eb-35b9-4dda-ace0-06e30608174e:77 Refused to load the script 'https://assets-cdn.github.com/assets/frameworks-5cc68fa4a212f8349010ddff8198506c.js' because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' github.githubassets.com"

    所以,各位有什么好主意么?

    PS:请不要劝我升级浏览器了....谢谢,特殊用途

    paloalto
        1
    paloalto  
       2019-01-14 16:40:28 +08:00
    你用的什么版本 chrome ?提供下版本号
    IdontWanToBeBan
        2
    IdontWanToBeBan  
    OP
       2019-01-14 16:41:38 +08:00
    @paloalto Chrome51
    IdontWanToBeBan
        3
    IdontWanToBeBan  
    OP
       2019-01-14 16:58:02 +08:00
    emm 看上去这个帖子被沉了...那我还是再发一个吧
    IdontWanToBeBan
        4
    IdontWanToBeBan  
    OP
       2019-01-14 17:06:47 +08:00
    @IdontWanToBeBan #3 好像是我被降权了....算了就先这样吧
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1144 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:43 · PVG 01:43 · LAX 10:43 · JFK 13:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.