最近在学习火狐插件,从官网下了源码编译通过后拖到安装目录的plugins下,通过about:plugins能够识别插件
但不能够调用插件方法 插件的总入口函数都没进去(NP_GetEntryPoints),搞了老久都没搞明白什么情况
以下是与插件交互的测试网页test.html,点击按钮后提示TypeError: document.getElementById("embed1").foo is not a function
最近在学习火狐插件,从官网下了源码编译通过后拖到安装目录的plugins下,通过about:plugins能够识别插件
但不能够调用插件方法 插件的总入口函数都没进去(NP_GetEntryPoints),搞了老久都没搞明白什么情况
以下是与插件交互的测试网页test.html,点击按钮后提示TypeError: document.getElementById("embed1").foo is not a function