且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用loadFrameScript,如何在执行页面脚本之前注入文件?

更新时间:2023-10-06 15:53:04

来自:它说要使用 document-element-inserted ,这将确保您的脚本在页面脚本运行之前运行.

It says to use document-element-inserted, this will ensure your script runs before the page scripts run.

我对框架脚本没有太多的经验,其他人将不得不对此进行验证.

I don't have much experience with frame scripts, others will have to verify me on this.