Q:

Using image after loading on page

I have loaded a remote image from Facebook on to my webpage. I am wanting to find where it is cached so I can get the src path to it so I can use it on my canvas. The problem I am having is when I try to set the Facebook src path it is giving me cross origin errors because it is not a local file. Is this something that HTML5 local storage might solve?
In the end I would like to have a path to the loaded image that does not involve me saving them to my server and pulling them down again.

A:

you can do this by adding the image by jquery on the .load() because The window load event executes a bit later when the complete page is fully loaded,

