mozilla / idea-town-addon

DEPRECATED: see idea-town repo
https://github.com/mozilla/idea-town/tree/master/addon
Mozilla Public License 2.0
2 stars 4 forks source link

Initial prototype of web & addon cooperating #3

Closed lmorchard closed 9 years ago

lmorchard commented 9 years ago

Okay, hopefully this makes sense and I'm not just delusional at 2am. I'm not totally sure this is worth merging as a PR. But, this could use some eyes as a first demo. Here's what it does so far:

So, I think the cool thing is that we don't need an iframe wrapper. The addon can listen for messages from a whitelist of web origins and do special things for normal pages from those origins.

jaredhirsch commented 9 years ago

@lmorchard this is awesome! I'll take a look post-meetings. @meandavejustice feel free to pile on, let's make this a party

meandavejustice commented 9 years ago

@lmorchard I'm going to go ahead and merge this as it takes care of some of the boilerplate and looks like a good start. Thanks!