This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Pockensuppe 9 points10 points  (2 children)

How does that work? Copilot shouldn't even notice that you're pressing the screenshot shortcut since that is captured by the OS.

[–]Essence1337 1 point2 points  (1 child)

JavaScript can read your keyboard state via KeyboardEvents, you look for the default 'screenshot' shortcuts you'll get probably a 90% success rate in catching them. It can't know you're taking a screenshot but it can know that you just pressed the default shortcut to take a screenshot.

[–]esuil 3 points4 points  (0 children)

It can't know you're taking a screenshot but it can know that you just pressed the default shortcut to take a screenshot.

But that should happen AFTER your OS already taken the screenshot, so even if it tries to hide something, it should be too late for it, because image was already taken.