tidy
tidy
我想问题,devtools页面要和content注入到webpage的脚本进行交互, 在devtoos页面使用api `chrome.devtools.inspectedWindow.eval`能够和注入脚本进行通讯 除了这种方式,还有其他的没有?
具体是哪部分代码呢? 能指明下问题吗?
具体的分析过程: https://www.jianshu.com/p/a21c4a3d321d
At the beginning I also thought it was pre-allocating some space, but then I saw that it was push and pop operations on top of 20, and if everything was...
It is likely that this is the author of a handwritten 20, I tried to modify to 0, temporarily did not find any problems
其实我的需求仅仅是生成一份inject.js,然后在conten.js中注入这个脚本 似乎我的用法有点问题,为了生成单独的inject.js,我不应该将将它配置在containScript.entrys,这种做法就会导致上述问题 但是我发现似乎没有其他更好的解决办法,插件似乎本身也没有考虑到脚本注入这方面的需求 希望能给出个解决办法,谢谢
我暂时注释掉`vue-cli-plugin-browser-extension`代码中的 ``` webpackConfig.plugin('extension-reloader').use(ExtensionReloader, [{ entries, ...extensionReloaderOptions }]) ``` 反正是使用,暂时规避了问题
是手动修改这个插件的代码
微信号: xu__yanfeng
Due to a change in API writing, I had to choose version 11.0.0, which I did not attempt