View Full Version : Using Ajax away from my domain

09-15-2008, 10:40 PM
I'm trying to use either iframe or ajax on my myspace page. I'm trying to essentially integrate my band's webpage (http://thegorgeoushussies.fabulisticfloyd.com/TGH-web) into our myspace page (www.myspace.com/thegorgeoushussies) using CSS. I'd like to use either an iframe or ajax to be able to reload content within our one page.

I'd normally just use an iframe. However, myspace automatically removes iframe tags.

Ajax would be a great option, but as far as I can see I can only load content using ajax as long as the root domain name is the same as the content I'm trying to load. This is causing a problem, obviously, because I'm trying to load content from http://thegorgeoushussies.fabulisticfloyd.com/TGH-web to our www.myspace.com/thegorgeoushussies .

Does anyone know if there is a way to work around this? I'd like to load the content on our domain name to our myspace page using ajax.


09-16-2008, 02:31 AM
In such a restrictive environment I would say no. Even if there is some trick that could fool both MySpace and browsers into letting you do what you want, it would probably still be a violation of the terms of service of MySpace. Part of the forum rules here are to not ask for help, and to not help in cases where terms of service could be violated. I believe MySpace will allow you to link to the other site, but you cannot display it on MySpace.