I think enforcing some universal API for this would be a decent compromise. This would allow browsers to handle the UI which means the user can set a global preference or set it per site. At the very least the UI would be uniform so you wouldn’t have to fight dark patterns trying to disable them.
Sremovedhorpe