I am having issues using jsonp to do some cross domain ajax calls. It is pretty basic code that works in visual studio but once I deploy it on our staging server I get some odd behavior.
Data from httpfox:
From visual studio the query string looks like this
callback jsonp1280451715954
_ 1280451717305
x "Testing"
With ...
Currently, web application need to offer some kind of cross-domain HTTP header to access data on other domain: http://openfontlibrary.org/wiki/Web_Font_linking_and_Cross-Origin_Resource_Sharing
Is there any way to configure CouchDB to support unlimited cross-domain access? (it may use apache httpd internally) I'm using the db in-house p...
Source on Github: http://github.com/tschellenbach/Fashiolista-Button/blob/master/buttons.js
Blog post explaining the code
http://www.mellowmorning.com/2010/08/03/creating-your-own-diggfacebook-liketweetmeme-button/
The current dom load version is rather verbose.
I need the domload event because the code detects all a[href] elements i...
When building a social bookmarking button widget for usage in other websites there are a few challenges. We just recently opensourced the clientside aspects of this. (blog post here: http://www.mellowmorning.com/2010/08/03/creating-your-own-diggfacebook-liketweetmeme-button/)
Basically the goal is to replace the chosen elements
love it
...
I have my personal website running on my main domain like myname.net
I want to buy some domains that have great keywords to me, like: professionalrj.net and freelancebrasil.net (just examples).
I don't want to redirect these new domains using 301 since I want to "score" with the keywords relevancy.
I know that I can use canonical meta...
Hi,
I see many web analytics application and otherwise use javascript to capture data on a client website, and then send it to a central server for processing/storage/presentation.
For a similar purpose I've been using a javascript snippet which generate a 1x1 pixel image request to the server. The request contains GET attributes with ...
I have an aspx page on which I am using XDomainRequest object to populate two div(s) with html returned from AJAX response.
I have used Jquery to get the divs and perform "each()" on the retrieved List
var divs = $("div");
divs.each(function (index)
{
if (window.XDomainRequest) {
xdr = new XDomainRequest();
...
Hi, I am new to this site and had been successfully using the "HTML5" Cross-origin resource sharing (CORS) to POST data to my server. I just recently tried to include GETs in that as we are trying to have all of our communications be non-reliant on a JavaScript library. In doing so I have run into an odd issue that seems somewhat fixable...
I have an http window which opens a secure popup to submit a form to a third party web site. After the popup is closed, I would like to reload the opener so that it reflects the results of the form submission.
Since the opener and the popup use different protocols (http and https), I can't do it in the straightforward way (window.opener...
Heh,
I'm using jQuery AJAX Call to pull data from a self hosted webservice (same domain), but it always return 0, which indicates a cross domain problem. But this shouldn't be a problem.
Any suggestions how to fix this? Thanks!
Website running my Script
http://www.mysite.com/facebook/el_login
My AJAX Call:
var data = 'username='...
I'd like to offer a way to my users to promote my website, blog etc. on their website.
I can make a banner, logo whatever that they can embed to their site, but I'd like to offer dynamic content, like "the 5 newest entry's title from my blog".
The problem is the same origin policy. I know there is a solution (and I use it): they embed a...
Hi,
I'm developing a JavaScript API service. Main html page looks like this:
<html>
<head>
<script type="text/javascript" src="scripts/logic.js"></script>
<script type="text/javascript" src="scripts/jquery-1..."></script>
<script type="text/javascript" src="http://mydomain/api/main.js"></script>
</head>
...
</html>
In t...
I have a solution with two service projects (one is hosting a unit test silverlight application and other is providing the services being tested). Because of cross-domain policy, I have to publish the primary service site to IIS before the unit test site can consume a service.
Is it possible to host the clientaccesspolicy.xml file on A...
Hi all,
I am trying to develop a small web application which will consist of one web applicaiton using an iframe from another domain. I am trying to test this on my local machine, and for this I need to imitate as if the iframe is coming from another domain (while it's actually on the same domin as the other web application - my compute...
Hello all,
I'm developing a web application using asp.net.
In my application I require the user to plent an iframe which refers to an html document on my domain. I also give the user a script to put in his window which performs a call to my .ashx handler.
What I would like to do is as following:
The iframe in my domain needs to store...
My company has a Java webapp that contains a product catalog feature. We are looking for a way to integrate the catalog into other sites in a way that no server side code would need to be written(on the external sites). I'm just looking for suggestions for ways that one might go about doing something like this... ?
...
Hi guys, I am fed up with this problem. Here is two pages, test.php and servertest.php.
test.php
<script src="scripts/jq.js" type="text/javascript"></script>
<script>
$(function(){
$.ajax({url:"testserver.php",
success:function(){
alert("Success");
},
error:function(){
alert("Error");
},
dataTyp...
I'm a bit confused about how you can or cannot make crossdomain ajax requests in addons for Firefox. Addons such as LastPass and Xmarks suggest you can do it, however when I try to google how you do it, everyone seem to say you cannot, unless the user has set a preference in the settings of Firefox. If crossdomain isn't possible, then ho...
We are providing a snippit of HTML that our client can embed on their website to make a callback to our API. This HTML is a simple form and a Javascript file hosted on our server.
This is what the client hosts on their website (clientsite.com):
<script type="text/javascript" src="http://mysite.com/webcallback/callback_script.js">&l...
Like a lot of developers, I want to make JavaScript served up by Server "A" talk to a web service on Server "B" but am stymied by the current incarnation of same origin policy. The most secure means of overcoming this (that I can find) is a server script that sits on Server "A" and acts as a proxy between it and "B". But if I want to dep...