cross-domain

read wikipedia url's content using jquery, cross domain network call.

jQuery.ajax( { url:'http://en.wikipedia.org/wiki/Football', type:'get', dataType:'jsonp', success:function(data){alert(data);}, } i want to read wikipedia page from my domain using jQuery, iam doing as above. as expected wikipedia is sending data as pure html, but when we use $.ajax to get cross doma...

illegal character in jsonp response

Hi i am doing an exercise where I am trying to scrape content of nytimes website using javascript/ajax. In order to send cross domain ajax request I am using a proxy server that returns me jsonp response with nytimes website content. But since that html content has some charaters (single quotes) which throws "Illegal Character" error. ...

can't get it to work: crossdomain.xml and Flash

Hi, I have a (self-created) swf demo with button triggering getUrl('SampleTargetPage.html') Now I want to place the swf at our cdn at cdn.example.com while my html page resided on www.example.com More structured: www.example.com/test.html cdn.example.com/someflash.swf cdn.example.com/crossdomain.xml I thought it would be sufficie...

cross domain XMLHttprequest

Here is my situation: I have a Webserver machine, Client machine, and a third machine running some program that listens for XMLHttpRequests. Client accesses the Webserver from the Client machine, makes some changes, and then clicks on'Save'. At this point, data is being sent back to the Webserver and to the Third machine. All of this i...

HTTP & HTTPS Iframe

Hi Guys, I am creating a small widget and I want to allow others to use it. The iFrame is loaded from HTTP - but I want to allow users to login via HTTPS i.e. that is - send a request for login via SSL Is this allowed within the same-origin policies or ? i.e. the scenario is that a user can integrate my javascript to their website, th...

cross domain ajax call

i tried to make an cross domain ajax call with native javascript and it works with out any jsonp techniques, i am wondering how it is possible . i read that cross domain ajax calls cannot be made due to security risk <html> <head> <script type="text/javascript"> function loadXMLDoc() { url=document.getElementById('url_data').value;...

JavaScript permission denied. How to allow cross domain scripting between trusted domains?

We have a .net based application hosted with SAP enterprise portal iframes. The domain of the SAP portal is al.xx.companyname.com. The domain of the .Net application server is ss.xx.companyname.com. Now when I open the application through Enterprise portal, I get a 'Permission denied' JavaScript error. I enabled script debugging in IE ...

javascript cross-domain issue

Hi, I am building a small widget that I am giving to users to embed in their websites and blogs. Now the widget loads a javascript file in the page where it is embedded from my server, which in turn puts an xmlhttp request back to my server to obtain data. Due to security reasons this request is being blocked when placed on other server...

Is maps.google.com accessible from a Silverlight app?

maps.google.com's crossdomain.xml file is as follows: <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"&gt; <cross-domain-policy> <site-control permitted-cross-domain-policies="by-content-type" /> </cross-domain-policy> Can you confirm that this effectiv...

Is the Cross Domain Fragment Identifier hack no longer working?

I see this referenced a lot: http://ajaxify.com/run/crossframe/ And I noticed now it's no longer working for the IFRAME (child) to change the parents hash. I've been spending a few hours trying various things wondering why this isn't working anymore -- then I finally realized that the example I originally based it on was down too. C...

Cross Domain Get Request in JS/JQuery

Is there a way without using a server proxy to perform a cross domain GET or POST request? ...

Trouble with Cross Domain Iframes on IE8: changing parent.location forces new popup window. if on a click event, it works as expected.

Hi everyone, I'm having a lot of trouble getting cross domain iframe communication working. It's working on Firefox and Chrome, but on Internet Explorer, it only works in some ways: If the parent.location = 'new_hash'; is not encompassed in an onClick event, it forces the parent frame to open a new popup window. If it is in an onCli...

Cross domain content usage from client script (security issues)

Hi guys, I'm trying to load some external content using jQuery load function to div on my page. load method works ok, with local content, but if you want something out of your domain, it won't work. $("#result").load("http://extrnal.com/page.htm #data); (it actually works in IE with security warning, but refuses to work in Chrome at ...

Cross-domain requests with JQuery using YQL

So I need to make a a cross domain request where the response is not JSON formatted, so I cannot use .getJSON. .get obviously doesn't work because it is a cross domain request. I came across this (Read this) when I was googling and it seems it should work for what I want to do (which is do a cross domain call that isn't json formatted ...

Accessing Cross Domain Stylesheet with .cssRules

I get this error in FireBug when I try to access some CSS files hosted on external domains: Security error" code: "1000 rules = styleSheets[i].cssRules; The code I am using is: $(document).ready(function () { $("p").live('mousedown', function getCSSRules(element) { element = $(this); var styleSheets = document.sty...

Access cross domain nested iframe from within the main iframe

I have a page that has a cross-domain iframe. On the page loaded in the iframe is a print button that runs some javascript to print an iframe named printFrame sitting on the page (on the nested page, not on the parent page). When I click on the button, in FF it works but IE gives me an error: frames.printFrame is null or not an object....

$.getJSON from jQuery (in Rails app) not reading JSON from cross-domain Node.js/Express app / jsonp?

From googling/forums I think there could be two issues, neither of which I know how to fix: 1) I need to do something with the jsonp callback in the node.js request (which was generated automatically by jquery b/c of the callback=? param) - either add it to the header (where? and how?) or add it to the json response (again, where? and h...

Cookie across different domains

I am working on building a learners website (http:localhost:8080.xyz.com).This is being built on glassfish server using gwt.I need to integrate forums(http:localhost:8888.abc.com)into this site .The forum is built using php and is on Apache Server. Both the websites share the same MySQL database and this database has a table named sessi...

XMLHTTPRequest cross-server request for IE7 and under

I need send request from 1.abc.com/test.html to 2.abc.com/target.jsp It works fine under IE8, Firefox, Chrome and Safari. For IE8 I use XDomainRequest and for other browsers I use XMLHttpRequest. But for IE7 neither works. However, I believe there is a way for IE7 since source page and target page are under same domain abc.com even tho...

XmlHTTPRequest and 301 redirects

Do any browsers follow cross-domain 301 redirects when processing XmlHTTPRequests (or any other method a page can get the contents of another) ...