Weijie Zhao

Results 34 issues of Weijie Zhao

![035ED8F7B55D951DA46AE4B5272473DC](https://user-images.githubusercontent.com/23057110/181505756-d9472892-8d30-4135-b6ad-654c792ed733.png)

bug
javascript

In an page with CSP, if inline js and js url not in whitelist are both disabled, seems no API can be used to insert a script into page. Tampermonkey...

fixes #464 the width of multiline text lable is the sum of each line's width After: ![image](https://user-images.githubusercontent.com/23057110/57390325-aa032a00-71ee-11e9-82ca-190b9fb17f55.png) Before: ![image](https://user-images.githubusercontent.com/23057110/57390366-c0a98100-71ee-11e9-8a70-d4a345e3272d.png)

Chrome 的 TamperMonkey 插件会把 js 插件应用到每个 iframe 中。但是 Via 并不会。这导致插件的能力受到了限制,iframe的页面都无法进行操作。 请问 Via 会考虑 JS 插件应用到 iframe 吗?

``` type pmap struct { sync.RWMutex id string m map[string]*Peer } type rmap struct { sync.RWMutex m map[string]*pmap } ``` I found the peer and room data in these 2...

``` function setTimeout(timeout) { Module["timeout"] = timeout; } function safeSetTimeout(func, timeout) { return setTimeout(()=>{ // will call the wrong function callUserCallback(func) } , timeout) } function _emscripten_sleep(ms) { return Asyncify.handleSleep(wakeUp=>safeSetTimeout(wakeUp,...

如果两个插件都参考了相关的StackOverflow用_attachShadow,会有死循环的问题 最好的改法是每个插件都用一个专属的名字比如_lf1klj23l4josdfi_attachShadow,防止循环调用

- [x] 窗口在iframe中显示 - [x] 通过插件实现PostMessage to top的逻辑,web和userscripts fallback到现在的不使用iframe的模式,尽量减小第一次上线的改动 - [x] iframe中的窗口能够拖动 - [ ] iframe大小随着窗口的大小变化而改变 - [x] 绕过csp,例如github这样csp有iframe白名单, extension 打包的 page 没有问题 - [ ] PostMessage逻辑:原来所有message发送给window.top, 现在能否 子iframe A...