Skip to content

Notification links do not work in Opera 60+

Environment

How to reproduce

  1. Trigger a desktop notification with a link, such as the one below.
  2. Click on the button in the notification.

Observed behaviour

Link does not open and notification gets dismissed after clicking on the button. No errors are thrown in the console.

Expected behaviour

The notification link should be opened successfully after the CTA button in clicked.

Test notification

{
  "notifications": [
    {
      "id": "links_1_desktop",
      "severity": "normal",
      "links": [
        "adblock_browser_promotion_0"
      ],
      "title": {
        "en-US": "Test 1 Link Notification",
        "de": "DE Test 1 Link Notification"
      },
      "message": {
        "en-US": "This is a <a>Link1</a> notification.",
        "de": "DE This is a <a>Link1</a> notification."
      }
    }
  ],
  "version": "201810011538"
}
Edited by Ursa Kacar