Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for "tainted canvas" #60

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

homerjam
Copy link

This fixes this security complaint for background images:

Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.

https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image

@homerjam homerjam mentioned this pull request Mar 26, 2015
@bradcerasani
Copy link

👍

@homerjam Probably want to run grunt uglify on your branch to generate a minified version with the fix as well

@homerjam
Copy link
Author

Sure, there you go. Thanks

@madeleineostoja
Copy link

Any progress on this being merged into master?

@lostinpatterns
Copy link

This fixed the issue I was having with images hosted at S3.

Copy link

@janein janein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works perfectly fine.

@janein
Copy link

janein commented Sep 27, 2016

would love to see this merged!

@rodolfogordo10
Copy link

Last merge was 2014 😭

@justrealmilk
Copy link

Where's the give all my money to button

@Jiab77
Copy link

Jiab77 commented Jun 19, 2018

@homerjam Dude! you helped me so much with this PR 👍
Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants