" iframe.src = id; iframe.onclick = function(e){ document.write("exec") window.open(this.contentWindow.name, this.src); } document.body.appendChild(iframe);

Loads script based on the location.hash value.