Skip to content

Instantly share code, notes, and snippets.

@tolmasky
Created January 14, 2010 02:20
Show Gist options
  • Save tolmasky/276793 to your computer and use it in GitHub Desktop.
Save tolmasky/276793 to your computer and use it in GitHub Desktop.
can we just do image.src = "thatURL"; image.onerror = function() { image.src = "thatURL+RANDOM"; image.onerror = function() { for sure no go; } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment