Cross-Domain Scripting
-
Guys, We've been wrecking our brains over this and nothing's working! After searching every page on the net and trying all solutions we decided to post here so maybe you can come up with an answer... So, we've got multiple clients each of them having their own domains. We want to give them one line of script which will in turn render a box with details in their website. These details are stored on our own domain. The problem is, when using an iFrame is not flexible enough so we went for an XMLHTTPREQUEST in Javascript to render the result from a URI into a div on their own website. Problem is we're getting permission issues with domains (since the URI of the data that will be included is not the same as the URI of the page no which it will be included). Does anybody have any idea or solution on how this should be solved? Thank you very much for your time...
In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)
-
Guys, We've been wrecking our brains over this and nothing's working! After searching every page on the net and trying all solutions we decided to post here so maybe you can come up with an answer... So, we've got multiple clients each of them having their own domains. We want to give them one line of script which will in turn render a box with details in their website. These details are stored on our own domain. The problem is, when using an iFrame is not flexible enough so we went for an XMLHTTPREQUEST in Javascript to render the result from a URI into a div on their own website. Problem is we're getting permission issues with domains (since the URI of the data that will be included is not the same as the URI of the page no which it will be included). Does anybody have any idea or solution on how this should be solved? Thank you very much for your time...
In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)