Skip to content

Refs #171 - Ignore newtab notifications for managed users

This MR contains the following changes:

  • Mark newtab notifications as shown without opening a new tab for managed users.
  • Introduced openNotificationInNewTab() and getInstallType() functions to make the code easier to read.

Note that, according to MDN, Opera doesn't support browser.management.getSelf() so we have to treat them like any other normal installation. Although it's unclear whether Opera even supports managed installations, since it doesn't support browser.storage.managed either.

Merge request reports