If that works, than I need to parse the 'content' for other files (CSS & JavaScript) and somehow inline them.
On Friday, May 4, 2012 11:24:05 PM UTC+1, ihab wrote: > > > On Fri, May 4, 2012 at 11:49 AM, ๏̯͡๏ Jasvir Nagra <[email protected]>wrote: > >> Unfortunately that is not possible on our side especially if you're >> behind a NAT - you'll either need to let the public caja.appspot.com >> connect to your LAN or (and probably preferable for you), run caja >> locally as I suggested earlier. >> > > Another possibility is -- if the Web page using Caja has access to the > content itself, it can do: > > var content = /* get content via XHR or JSONP or whatever */; > ... > frame.code('url', 'text/html', content); > > which would then send 'content' back down to the cajoling server. It's a > bit circuitous, but it might work. > > Ihab > > -- > Ihab A.B. Awad, Palo Alto, CA >
