Open OfficeBureau opened 10 years ago
Just download background-check and in slider example I get:
Uncaught SecurityError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.
The above doesn't fix it.
Background-check fails not-so-gracefully if image elements don't share the same origin domain.
Modifying line 43:
to:
prevents this issue when no image selector is provided, but it's still possible for a user to provide a selector that includes cross origin images.