阅读背景:

Chrome扩展程序/根据popup.html中的选择执行不同的内容脚本

来源:互联网 

I need to do an extension with the following behavior. The popup.html should have two buttons or two radio buttons (button is easier because I don't have to save the selected value like with radio) and depending on the user selection I have to execute one script or another. Also after either of the scripts is loaded and the user wants to use the other one, I have to reload the page in order to "unload" the previous one. Could anyone give me an approach to accomplish this?I need to do an extension with the following be




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: