Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
284 views

Browser notifications not working in Firefox Add-on

I am using Windows 7 and developing a Firefox add-on that needs to display notifications, but none are being displayed. I have confirmed that the command browser.notifications.create is being ...
Daniel H's user avatar
  • 463
0 votes
0 answers
118 views

Generate Notifications in Background from messages in a WebExtension

So I am learning about the web-extension world by developing an extension for Mozilla FireFox. As part of my extension, my primary content script will generate and send a message, using the browser....
Quentin's user avatar
1 vote
1 answer
363 views

Notification not working in FF Web Extension

I have a browser extension that I coded using WebEx to make it work in Chrome as well as FF/Edge, without porting. The following code works perfectly in Chrome. toast = function(message, interval) { ...
Shahid Thaika's user avatar
1 vote
1 answer
2k views

Include image in notification

I am currently trying to convert a Chrome extension to Firefox. The original Chrome extension involves a notification of the type "image". The code is a follows: chrome.notifications.create({ ...
user1016494's user avatar
0 votes
1 answer
879 views

How to copy to clipboard via chrome.notification.create with chrome.notification.onClicked in a Firefox WebExtension add-on?

Testpage: https://www.google.com It works in Chrome but in Firefox Nightly 52.0a1 it gives me this error when clicked on the notification: document.execCommand(‘cut’/‘copy’) was denied because it ...
Vega's user avatar
  • 2,929
0 votes
1 answer
2k views

chrome.notification.create with chrome.notification.onClicked in a Firefox WebExtension add-on

I have a problem understanding the documentation for the WebExtensions notification.onClicked event. Ultimately, I'm trying to get the text of the notification copied to the clipboard when you click ...
Vega's user avatar
  • 2,929
2 votes
1 answer
1k views

Buttons not showing up in Firefox WebExtension notifications

I am working on a Firefox WebExtension in which I am trying to display a notification with a button. I have this working in Chrome. According to the docs, this is supported in Firefox. Buttons are ...
David Ward's user avatar