You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
RT,所以最近正在适配firefox插件。
但是,这firefox测试插件太恶心了。。。。
只能加载打包后的zip文件,不能加载文件夹,导致每次改完都要 firefox卸载插件 -> 打包 -> 重新挂载,失去了热加载开发方式,非常麻烦
devtools的console没法选插件的window context,有些情况挂在content script的window里的对象不知道是个啥
API差异或者是bug?
目前已知了 IntersectionObserver 在firefox的docPIP中,运行不正常,导致默认的弹幕引擎用不了;另一个引擎则是docPIP里不给用

requestAnimationFrameAPI 😅目前已知在docPIP里的devtools创建IntersectionObserver,再监听里面的dom是运行正常的。而我的代码里创建IntersectionObserver的content script是附属在top window context下的,再把整个播放器dom移动到docPIP中去的。如果说要专门对firefox里创建IntersectionObserver的时机是在docPIP的window context里,还需要考虑怎么弄。
All reactions