All Chromium-based browsers (at least Chrome, Opera, Edge), Firefox, and their Android variants, can be configured from their default setting "Ask" to "Deny all" for notifications.
This is usually under Settings, "Site Settings", "Site Permissions", or similar names.
One of the first things I always do when setting up a web browser from scratch, is to disable notifications. It is muscle memory, at this point. Otherwise, lots of websites will bother me trying to get permission to show me useless notifications.