cross-domain

Cross-domain content duplication and SEO

We have a family of sites (about games) with shared content. Each site has its own top level domain, and most content has a "home" domain, but all content is accessible on each domain. This allows a user who is logged in on, for example, the board game site, to page through their new subscribed content and see pages about RPGs or video...

Google Analytics from a file:// url

We have an ajaxy sort of html based app framework thing and want google analytics to work with it. And I believe we have set things up properly to manually call _trackPageview where needed. However things don't seem to be getting reported. Now either I don't have it working right, or GA tracking from javascript with a file:// protocol...

Cross Domain GeoLocation Tracking

Hi everyone, I am trying to track user location (HTML5 GeoLocation) on multiple domains, by asking user permission for once. For example: User gives permissions on example.com example2.com adds a script/iframe from example.com User enters on example2.com User location is tracked by example.com and location specific content is shown to...

Accessing parent page with javascript inside an iframe

Is there any way to "break out" of an iframe? What I mean by this is that people will be placing my javascript tag inside an iframe (sometimes it ends up being nested iframes, but lets just deal with ONE for a now). I'm trying to gather certain information, like where that iframe is located on the page. It's easy enough to do it when you...

Can I make simplemodal contact form post across domains?

I'm using the SMCF Wordpress plugin on this site: http://fingelly.com/ As you can see it uses ajax to post the form fields to get mailed and then updates the modal. Some of the nav options at the site take you to a 3rd party IDX (real estate listings) provider. For example click on the tabs marked agents and the url changes to fingelly...

Selenium - Cross domain and HTTPS problem

Hi everybody! I use Selenium to test my website. The website need to access an external catalog to select some items from it. The problem is this catalog is published on another domain with HTTPS protocol. I've searched and read many topics on the internet about Selenium and Cross domain problems, but I still don't find the answer yet. ...

Mootools cross domain, YQL proxy

Hello, I've been trying to make ajax cross domain scripting with YQL as proxy. It works great, but can i somehow change the data format? Im trying to extend the JSONP class like this: http://fragged.org/cross-domain-ajax-calls-via-yql-as-proxy-and-mootools-jsonp_1028.html And im getting data as text/html, but would like it to be as xm...

Where to place clientaccesspolicy.xml in Netbeans Webservice project?

Hi, I develop a Webservice using Netbeans 6.9 and I use an embedded glassfish server to deploy my Webservice (*http://some_domain/project_name/ws_for_sl4*). On a different server there is deployed a Silverlight 4 client, which should have accesss to the Webservice. I know that I have to have clientaccesspolicy.xml (under *http://some_...

jQuery jFeed plugin working with the domain with www and without it

I use jQuery jFeed plugin to fetch rss feed from WordPress blog and show on the main page of the site. So, it works fine when I go to http://site-using-jfeed.com. But when go to http://www.site-using-jfeed.com, it doesn't load the feed and nothing is shown. I suppose there is something about cross-domain functionality. What can I do abou...

How to pass access token from one website to another?

I have a website that takes care of getting a Facebook token through Graph / OAuth. At that point, the website can post to the user's Facebook wall with no problems. Is it possible to send this token to another website so the remote website can start posting the user's Facebook wall without re-logging in the user? ...

Best approach to maintain session vars across multiple domains

I am building a tool-bar like umbrella system to link four different sites together and need to log in once from any of the sites but then allow access to all the other sites. There is also a lot of data I need to maintain between sessions. What would be the best approach for this? I have already wondered about just storing session in th...

Cant make a crossdomain Ajax call

hey, if i try this code $(document).ready(function(){ $.ajax({ url: "http://gdata.youtube.com/feeds/api/users/zdf/playlists?v=2", type: "GET", success: function(msg){ console.log(msg); } }); }); i get this error "XMLHttpRequest cannot load http://gdata.youtube.com/feeds/api/users/zdf...

Difference in behavior using parent.window.location.replace vs parent.location.replace in IE8

Scenario: To change the URL of the parent window from within a cross-domain iframe. In IE-8 parent.location.replace("http://google.com"); works fine whereas parent.window.location.replace("http://google.com"); DOESN'T works (throws Permission Denied). Whats the difference when i do parent.location vs parent.window.location? And why i...

Set Cookies on subdomain?

I have the site blah.com. I need to set 3cookies + use google analytic. I would like to set it as www.blah.com so when i serve images (on blah.com or static.blah.com) it is cookie-less. Is this possible? How do i do it? I am using jquery-cookies and asp.net ...

Accessing parent window variable from an cross-domain iframe

Inside http://mydomain1.com/index.html <html> <body> <script type="text/javascript"> var a = 1; </script> <iframe src="http://domain2.com/test2.html"&gt;&lt;/iframe&gt; </body> </html> Inside http://domain2.com/test2.html <script type="text/javascript"> alert(parent.a); // forbidden </script> Any work arounds? ...

is it possible to get the current location (url) of an external page loaded in a jqModal window?

Dear all, As the title, is it possible to get the current location (url) of an external page loaded in a jqModal window? And further, in the implementation of the jqModal, in where the external page is located? iFrame or div? Thanks for your kindly advise. BRs, William Choi ...

Is it a case of cross-domain when embedding pages from localhost into an iFrame which is contained in a page from foo.com?

hi all, As title, please kindly advise. Many thanks. William Choi ...

Flash AS2 post request across domain not allowed

Hi guys, I have my flash application hosted on a 3rd party domain (flash.example.com )and i'm trying to post data and redirect to my local server. (www.example.com) It will not allow me to do this. I've used the flash debugger and it IS finding the crossdomain see output below. OK: Searching for <allow-access-from> in policy files t...

Cross domain javascript form filling, reverse proxy

Hi, I need a javascript form filler that can bypass the 'same origin policy' most modern browsers implement. I made a script that opens the desired website/form in a new browser. With the handler, returned by the window.open method, I want to retrieve the inputs with theWindowHandler.document.getElementById('inputx') and fill them (acc...

cross-site request

Should be done with the site number 1 request to the site number 2. Let the number one site will be localhost, and the site number 2 - the real server on the Internet. At site 2 there is a file result.php, which takes GET-requests: $var = @$_GET['q'] ; $s = $_GET['s'] ; $typefile = $_GET['type']; If the page result.php make a requ...