-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported. #1466
Comments
I'm able to get |
+1 |
I've switched to "dom to image" library which solved my issue. Here is the result match-it |
hi man, do you solve it ? |
@jamesmarva as you've not addressed particular one in your problem, yes as I said I've switched to other library which solved my problem. |
@amitguptagwl thanks, do you know use which library to save website-screenshot to he image? |
@jamesmarva This is what I used to save image of particular div. I hope it should work for full page as well |
@amitguptagwl thank u very much. |
Let us hack it const TempImage = window.Image
const Image = function() {
const img = new TempImage()
img.crossOrigin = 'anonymous'
return img
} It works |
|
Bug reports:
I am getting a tainted canvas error, even with the allowTaint flag set to false.
Similar to #1409.
The url I'm testing is: http://en.miui.com/forum.php
I'm not sure how to set up a jsFiddle with this sorry, but I have tested it via a chrome extension using the executeScript functionality.
From extension:
Console output of tab:
Specifications:
Thanks for all your work on this amazing library.
The text was updated successfully, but these errors were encountered: