@mseq You don't need such drastic and unsupported measures. You go to about:preferences#privacy, under "Permissions" you have notification settings. There you check "Block new requests asking to allow notifications" - bingo, only notifications on websites where you want them (such as Mastodon), no new requests. You can do it similarly with the location requests.
@WPalant I did not know about this, thank you!
(That being said, I still don't feel the need to use web notifications at all.)
@mseq I also cannot imagine that I would ever allow a location request. Still, it's better to change things via supported UI. :)
One of the first Mastodon instances, there is no specific topic we're into, just enjoy your time!