[Project_owners] XMLHttpRequest

Wladimir Palant trev at gtchat.de
Fri Jun 10 18:16:29 EDT 2005


Oren Nachman wrote:

> Trying to get the download counter onto an xhtml file loaded into a XUL 
> window through XMLHttpRequest. The only problem is that because the 
> counter is not in the same domain I am getting permission denied. Is 
> there any way to use HttpRequest (or something else) to get html from 
> somewhere else?

Usually people put a server-side script in their domain, that retrieves 
and prints the data from the remote server. Your download counter could 
connect to this script without permission problems then.

Wladimir


More information about the Project_owners mailing list