Permanently disable Firefox and Chrome web notifications

Are you horrified that any website would even ask to send notifications to your desktop? Would you like this pop-up to never appear again? Then:

  1. In Firefox, visit the URL about:config and if promted, say you do want to void your warranty
  2. Filter using webno
  3. Double click dom.webnotifications.enabled (changing the value from the default true to false)

Thanks to this guy for the Firefox info.

  1. In Chrome, in the top-right, click the 3 vertical dots (the More menu) and select Settings
  2. At the top, search notifications
  3. Expand Content settings, then Notifications
  4. Toggle Ask before sending to Blocked

Chrome info from the Google Support article.