Skip to content

Opera detection problem #8

@smokerigni

Description

@smokerigni

I have checked your module and it seems you havent handled Opera browser case.

As i tested on my pc with the latest Opera version and it works as in Chrome, so you can extend your statement in checking like

... } else if (browser.isChrome() || browser.isOpera()) { ...

maybe.

You use 2 different ways of Opera browser detect, what is the difference? Version related thing?
const isOpera = typeof window.opr !== "undefined";
... this.userAgentContains(" OPR/");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions