Cheevos icon indicating copy to clipboard operation
Cheevos copied to clipboard

Add-on API

Open erikvold opened this issue 13 years ago • 4 comments

idk how to do this atm, but it must be possible!

erikvold avatar Jun 08 '12 21:06 erikvold

I've been thinking about adding an API that checks for tags in pages that are loaded. if it finds a specific meta tag then it could award an achievement. the other way that I could do this is let the page fire an event (which will probably be more efficient).

what are your thoughts?

msujaws avatar Jun 08 '12 22:06 msujaws

Website achievements sounds cool!

I was thinking that Firebug, or any other addon, could have their own achievements, and instead of building their own system for it, they could just hook into Cheevos, somehow.

We basically need to hack some addon communication module for this though, although I hope cross addon communication like this can come baked in to jetpack someday. I need to think about how to best do that, because every solution I can think of right now sounds pretty hacky.

erikvold avatar Jun 08 '12 22:06 erikvold

Dispatching events might be the best route, and it wouldn't require any new addon modules.

msujaws avatar Jun 08 '12 22:06 msujaws

good job

jakestandard avatar Jul 02 '12 04:07 jakestandard