来自非SDK

时间:2015-05-18 08:22:08

标签: firefox-addon firefox-addon-sdk

有没有人对如何使用非sdk插件中的addon-sdk的标记按钮功能有任何窍门? https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/ui_button_action#Badged_buttons

如果没有使用我的想法可能会覆盖xbl和/或覆盖此处列出的技术display='xul:button'To anonymous element add pseudo element and cursor style and event listeners

1 个答案:

答案 0 :(得分:1)

您始终可以查看SDK源代码。这是pertinent line

node.setAttribute('class', 'toolbarbutton-1 chromeclass-toolbar-additional badged-button');
相关问题