:tools: Scheduled maintenance

Heads up! Downtime for the Forums, related to the NodeBB upgrade, is planned for Thursday, December 14, starting from 10:00 UTC.
Please make sure to finish all your posts before this time. The downtime should only last for a few minutes.

requireInteraction not work in WebExtension?

  • My manifest.json:

    "permissions": [
        "notifications"
    ]
    

    background.js

    chrome.notifications.create("inboxDesktopNotification", {
        title: 'Test',
        iconUrl: 'images/icon-128px.png',
        type: 'basic',
        message: "Test",
        requireInteraction: true
    }, function() {});
    

    In Chrome and Firefox work fine, but in Opera after 10sec the Notification close without interation. How solve this?

    [Moved to Add-ons]

  • We don't support requireInteraction at the moment. We'll update the docs soon to specify it as well.

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.