Closed wrgoto closed 3 years ago
See the feedback in https://github.com/sindresorhus/active-win/pull/67. There should be an option for each check.
@wrgoto Thanks for your contributions!
@sindresorhus I agree there should be an option for each check, but I haven't verified the extent of removing the accessibility check. I'm not entirely sure if it is limited to the url
property. I can investigate in a separate issue and PR.
@sindresorhus are you looking to get this merged soon?
The PR title needs to be updated.
Why
One of the significant drawbacks is the library asking for Screen Recording permissions for macOS versions 10.15 and newer. Even though the library doesn't actually record the screen, it is required to get the title of the active window. For those who do not need the window title, there should be an option to forgo the Screen Recording permission check.
Changes
disableScreenRecordingPermission
option.Related