custom-protocol-check
custom-protocol-check copied to clipboard
Opera detection problem
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/");