[jQuery] Re: Cross domain Ajax without Proxy

2009-02-06 Thread jay
I tested it and it works cross-domain with IE7 and FF3. It appears to send the data URL encoded inside the CSS like so: #cr0 { background: red url(http://cssrpc/%3Ch1%3EResult%20from%20CSS %201%3C/h1%3E); } #cr1 { background: blue url(http://cssrpc/%3Cp%3EThis%20is%20lorem%20ipsum %20in

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-11 Thread Bil Corry
ricardobeat wrote on 12/11/2008 7:06 PM: > Hi Bill, it seems that that technique doesn't work for FF3, so it's > out, unfortunately. It makes reference to an "original prototype" that does work with FF3, you can see it work here: http://ydnar.typepad.com/css-rpc/css-rpc.html Although

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-11 Thread ricardobeat
Hi Bill, it seems that that technique doesn't work for FF3, so it's out, unfortunately. On Dec 11, 6:35 pm, Bil Corry wrote: > Roy M wrote on 12/10/2008 4:17 AM: > > > Is it possible to get remote contents if page is in another domain, > > without use of proxy? > > I haven't used it, but you mig

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-11 Thread Bil Corry
Roy M wrote on 12/10/2008 4:17 AM: > Is it possible to get remote contents if page is in another domain, > without use of proxy? I haven't used it, but you might be able to use this: CSSHttpRequest (CHR) is a method for cross-domain AJAX using CSS for transport. http://nb.io/ha

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-11 Thread ricardobeat
Flash allows you to set cross-domain policies via a file called crossdomain.xml, see here: http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=1085.html But that requires access to the server which will provide the data anyway, so you mi

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-11 Thread ricardobeat
On Dec 10, 5:33 pm, aquaone wrote: > Tangent question: > 1. If someone was to add an iframe to a page, would cookies be sent to the > page within the iframe? AFAIK cookies are stored an a per-domain basis, so if your iframe page resides in the same domain it has access to the same cookies, and

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-11 Thread howa
On 12月11日, 上午2時32分, ricardobeat <[EMAIL PROTECTED]> wrote: > I believe you have already answered that to yourself but was hoping > for a misteryous miraculous solution right? :) > > No, there isn't, you'll have to do it server-side. Or if you're not > playing with the remote page's content use a

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-10 Thread aquaone
Tangent question: 1. If someone was to add an iframe to a page, would cookies be sent to the page within the iframe? I'm working on an app where we need to scrape content from multiple pages that all use a common login scheme that creates a cookie for a central server, despite the application bein

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-10 Thread ricardobeat
I believe you have already answered that to yourself but was hoping for a misteryous miraculous solution right? :) No, there isn't, you'll have to do it server-side. Or if you're not playing with the remote page's content use an iframe. cheers, - ricardo On Dec 10, 8:17 am, Roy M <[EMAIL PROTEC