I wish uBlock knew how to block those. Sadly, I'm not sure you could write software that could blocking those without blocking useful things like a login prompt that pops up if you leave your session idle.
I suppose it could be done via whitelist or blacklist.
I suppose it could be done via whitelist or blacklist.