Ironically, my first thought was using Automator or AutoHotKey (there's a different one for macOS I think? But you get the point) to just identify those dialogs and click yes/allow/whatever.
Even though a bunch of the responses are "well you don't want a keylogger" when the first solutions I can think of are also (potential) keyloggers. :)
Even though a bunch of the responses are "well you don't want a keylogger" when the first solutions I can think of are also (potential) keyloggers. :)