joshft91
joshft91

Reputation: 1885

Mozilla Add-on development: Chrome page action equivalent?

I've Googled around a bit looking for an answer but everything I've found so far is out-dated. Is there anything similar to the Google Chrome Page Action for a Mozilla Firefox Addon?

Or is there a good way to disable/gray-out the browser action icon in Firefox to let users know they can't use the extension unless an appropriate URL is accessed?

Thanks.

Upvotes: 5

Views: 369

Answers (1)

Rob W
Rob W

Reputation: 348972

The equivalent of browser action buttons are those within the sdk/ui/button namespace:

These are a relatively recent addition to Firefox (29). If you need such buttons in earlier versions of Firefox, take a look at my browseraction-jplib module.

Upvotes: 7

Related Questions