开发者

an extension that runs only on those tabs where it is activated

开发者 https://www.devze.com 2023-02-05 09:52 出处:网络
HI, I am trying to create a firefox extension that can be activated and display the UI on the click of a button. I want this extension to run only on those tabs wh开发者_JAVA百科ere it is activated.

HI, I am trying to create a firefox extension that can be activated and display the UI on the click of a button. I want this extension to run only on those tabs wh开发者_JAVA百科ere it is activated. Also I want the working of the extension in one tab seperated from the working of the extension in other tab. Any pointers as to what approach should i take, Where i can see some example(please dnt refer me to Firebug..I have tried to go through it,the code is very vast for me to make sense in the time that i have got to make this extension)..would be highly appreciated. ThanKs a lot in advance.


You could use a cookie to store the tab and the status of the extension.

0

精彩评论

暂无评论...
验证码 换一张
取 消