Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

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.