how to have tab-specific xul control with firefox

别说谁变了你拦得住时间么 提交于 2019-12-14 03:09:26

问题


let me put it simple. With Firefox 29, I add a check box control next to the back & forward button in the toolbar "nav-bar".

It works. I mean I can do check and uncheck, and the javascript code will be triggered.

Now, my problem: after I checked the checkbox in one tab, I found that the checkbox in all other tabs are also checked, and if I uncheck any of them, the checkbox in all other tabs will be unchecked.

Why they change as one? I would like them to be unrelated or separated. In another word, I want the control (checkbox or button or label etc) to be tab-specific.

All suggestions are appreciated.

来源:https://stackoverflow.com/questions/24257592/how-to-have-tab-specific-xul-control-with-firefox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!