Ciao all,

I'm using an iframe to load a url "in background" as follows:

var loader = document.createElement("iframe");
loader.setAttribute("id", "samfind-loader");
loader.setAttribute("collapsed", true);
loader.setAttribute("type", "content");
document.documentElement.appendChild(loader);
var webNav = loader.docShell.QueryInterface
(Component.interfaces.nsIWebNavigation);
webNav.stop(Component.interfaces.nsIWebNavigation. STOP_NETWORK);
loader.contentDocument.location.href = url;

everything works fine, but I would like to set the referrer as well.
Any suggestion anybody?

Thanks
m