Hello to all. I have a cross browser extension and it seems that Opera is the only browser which doesn't display my rich notifications. Is there a special permission or something in order to make it work?
manifest.json
...
"permissions": [
"tabs",
"activeTab",
"contextMenus",
"notifications",
"clipboardRead",
"clipboardWrite",
"http://*/*",
"https://*/*"
],
...
background.js
function showNotification() {
var notificationOptions = {
type: 'basic',
title: 'My title',
message: 'My message',
iconUrl: 'img/my_image.png',
contextMessage: 'My context message',
isClickable: true
};
var notificationID = String(Date.now());
chrome.notifications.create(notificationID, notificationOptions);
};
****** When I pressed "Post discussion" there was no indication of success or error so I pressed it again which caused double post.