fffelix-jan / ScreenBlindfold

Stop programs from seeing your screen
MIT License
9 stars 0 forks source link

[Bug] windows can be recorded #1

Open Unkn0wnCreator opened 7 months ago

Unkn0wnCreator commented 7 months ago

Hi,

First of all, Nice little program, thank you for that.

The Bug, if you want to record a single window with https://screen-rec.vercel.app/ or discord etc. the windows are Visible (don't know if this can be fixed, but it would be nice)

Maybe with Admin rights and forcing the invisible Window on top or looping / spamming focus on the invisible window it might be possible to make it hide everything?

Is it possible to create a Black window above the Windows that are being recorded directly?

Windows has built in screenshot etc. protection for DRM content, would it be possible to make a version that is using that feature ?

fffelix-jan commented 7 months ago

Thanks for the suggestion! That's something I should really fix when I have time. I could learn from https://github.com/radiantly/Invisiwind, which uses DLL injection to set the display affinity. However, I would also have to restore all the windows to their previous state afterwards (including remembering which windows already had their display affinity set to WDA_EXCLUDEFROMCAPTURE before my program was enabled).