Javascript – set an iframe source without loading new content

iframejavascriptsrc

Is there any way to set the src attribute of an iframe without the iframe generating an http request? If not, is there a way to format the request headers before the request is sent?

edit: I just need the src to match the path of a cookie, but I don't ever want that cookie sent to the server. See my comments on this question.

Best Solution

No there is not a way to do this.