This won’t entirely stop sites which are properly trying to request the permission in the worst case, and the navbar icon is unobtrusive enough that if it gets spammed it’s no big deal.
Actually I think it makes sense to persistently show the notification icon in the navbar once the permission has been granted (same with mic, audio, and anything else) providing a quick glance at any privs that have been granted and an obvious way to revoke them.
The icons would then need granted and non-granted states, and perhaps even three states;
- Black : requested but not authorized
- Black with green check : granted
- Grey with red x: requested and denied