Closed StoneCypher closed 5 years ago
As far as I know this isn't really possible. There's probably good security reasons, and stuff. That's largely over my head, TBH.
What if you required a DOM flag "screenshottable," failed if it contained any iframes or cors-tainted stuff, implied a white background, et cetera?
Being able to take images of what's going on in the browser is super useful and powerful
Both the DOM, and images of any kind, are part of the web spec, and not part of the language itself. This seems like it might be better as a web proposal than a language proposal?
fair point
As far as I know this isn't really possible. There's probably good security reasons, and stuff. That's largely over my head, TBH.
What if you required a DOM flag "screenshottable," failed if it contained any iframes or cors-tainted stuff, implied a white background, et cetera?
Being able to take images of what's going on in the browser is super useful and powerful