You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just gave it a quick check but it is working in my case (Firefox 126.0 for macOS if it can help). Using the console, the video element has crossOrigin property set to null.
@bowang
I can't answer that question. When I am testing modifications, I am using Load Temporary Add-on... in about:debugging#/runtime/this-firefox or better web-ext.
I ran into the following SecurityError when trying to make a screenshot on YouTube.
It seems to be a violation of Same Origin Policy [1].
I tried to add the following line on line 45
before
video
is fed tocanvas.drawImage()
but no luck.
Could something like [2] help?
Reference:
[1] https://www.geeksforgeeks.org/why-does-canvas-todataurl-throws-a-security-exception/
[2] https://gist.github.com/casamia918/a8daf164830bce1b6281e304ed1f91b0
The text was updated successfully, but these errors were encountered: