Rocketeers!
I've just posted the minutes of our weekly meeting to the Wiki: https://wiki.mozilla.org/Jetpack/Weekly_Meeting/2013-06-11#Minutes.
Will
--
You received this message because you are subscribed to the Google Groups "mozilla-labs-jetpack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mozilla-labs-jetpack+unsub...@googlegroups.com.
To post to this group, send email to mozilla-labs-jetpack@googlegroups.com.
Visit this group at http://groups.google.com/group/mozilla-labs-jetpack?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
"http://mydomain.com""cross-domain-content": [What I recently landed is the very final part of the big work made by gabor at platform level in order to allow content script to access more than the page domain:You can now add a `cross-domain-content` field in your package.json `permissions` attribute to allow accessing other domains, like having access to contentWindow of iframe on another domain, or doing XHR request to another domain, ...
https://bugzilla.mozilla.org/show_bug.cgi?id=786681
### package.json
{"permissions": {
]
}
}
### main.js:
PageMod({
includes: "http://mozilla.org",
contentScriptFile: "contentscript.js"
}
### contentscript.js
let xhr = new XMLHttpRequest();
xhr.open("GET", "http://mydomain.com/foo", true);
xhr.send();
xhr.onload = function () {
// This request will now succeed!
}
2013/6/12 Will Bamberg <wbam...@mozilla.com>
Rocketeers!
I've just posted the minutes of our weekly meeting to the Wiki: https://wiki.mozilla.org/Jetpack/Weekly_Meeting/2013-06-11#Minutes.
Will
--
You received this message because you are subscribed to the Google Groups "mozilla-labs-jetpack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mozilla-labs-jet...@googlegroups.com.
To post to this group, send email to mozilla-la...@googlegroups.com.
Visit this group at http://groups.google.com/group/mozilla-labs-jetpack?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "mozilla-labs-jetpack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mozilla-labs-jet...@googlegroups.com.
To post to this group, send email to mozilla-la...@googlegroups.com.