推荐关注
› Meteor
› JSLint - a JavaScript code quality tool
› jsFiddle
› D3.js
› WebStorm
推荐书目
› JavaScript 权威指南第 5 版
› Closure: The Definitive Guide
qwertyegg

Chrome 71 把 js injection 弄坏了

  •  
  •   qwertyegg · Dec 15, 2018 · 3126 views
    This topic created in 2860 days ago, the information mentioned may be changed or developed.
    我想问的是,这是 feature 还是 bug ?因为有一个 app 现在在 chrome 已经是不能用状态,有解决的办法,但是非常丑陋,需要把分离的 js 合并到一起。

    如果这是 bug,就不打算改 code 了,等着 chrome 更新。如果是 feature 那得另寻出路。

    这里有一条相关的讨论:

    https://stackoverflow.com/questions/53631642/chrome-v71-breaks-extension-js-injection
    1 replies  •  2018-12-22 00:39:22 +08:00
    MinonHeart
        1
    MinonHeart  
       Dec 22, 2018 via iPhone
    append 的 script 是异步的,在 onload 回调里执行代码就好了(需要测试下老版)。这个应该是 bug 修复,和 webpage 表现不一致
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2610 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 15:59 · PVG 23:59 · LAX 08:59 · JFK 11:59
    ♥ Do have faith in what you're doing.