Microsoft seems to understand this and will be introducing some changes in its Edge browser, where it will make the browser “smarter” at handling these notifications. This will be done by crowdsourcing how the general public feels about said notifications, so if the majority of users are choosing not to receive notifications from a website, Microsoft will take that into account and compile it into an annoyance score.
If the score is high enough, Edge would assume that this isn’t something that users want from that particular website, and will automatically quiet notifications from the website. Of course, given that this is crowdsourced information, there is a chance that you could still see those notifications if the score isn’t high or sufficient enough for Edge to make a decision for you.
According to Microsoft, “We will use updated data regularly so sites can provide the full prompt to their users when they get better acceptance rates from their users. This should be a strong motivator for sites to follow best practices and request notifications when they think users are most likely to accept. For sites providing quiet requests, we will provide random chance of providing the full prompt so we can continue to measure whether the site should provide the full prompt with improved user experience.”