custom-protocol-check icon indicating copy to clipboard operation
custom-protocol-check copied to clipboard

Opera detection problem

Open smokerigni opened this issue 4 years ago • 0 comments

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/");

smokerigni avatar Aug 07 '20 14:08 smokerigni