Firefox addons allow you to do cross-domain communication.
Is there any way to expose this function so I can initiate cross-domain ajax from any page (given I have installed this addon)?
Edit: I know what is CORS, and CORS only make sense when you have control the server, but I don't. The point here is I control the browser, I bear the risk so I am asking if anyway to export the cross-domain function from addon stage to the userland.