Proposal: Allow notifications API in content scripts #404
Labels
opposed: chrome
Opposed by Chrome
opposed: firefox
Opposed by Firefox
opposed: safari
Opposed by Safari
proposal
Proposal for a change or new feature
Preamble
Content scripts often need to show a notification. At the moment, the process involves adding a listener in the background script and then sending a message to the background script to generate the notifications.create().
Notification API should be a safe enough API to be allowed in the Content Script WebExtension APIs.
Proposal
Allow notifications in the Content Script WebExtension APIs
Purpose
Reduce reliance on the background script/service-worker/event-page
See also: #378, #403
The text was updated successfully, but these errors were encountered: