Hello,

I have a site hosted on a free hosting service and I'm using freedns.afraid.org to direct my domain there. The URL forwarding is done by ways of a frameset with my site in a frame.
On my site is a javascript that manipulates the location string for some AJAX magic (using '#/page' style URLs for navigation). It all works very well if I access the site at the free hosting address (mysite.freehost.com), but when I access it through my domain name (mysite.com), I get the 'permission denied to call location.toString' exception... Is there any way to get around this error?

is there no solution?

It might be the use of the parent window instead of the current document by your scripts. Check your scripts to see if they use the window object instead of the document object.

Change things such as window.location.href to document.location.href

No, I'm using document.location.href everywhere...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.