u2f-api icon indicating copy to clipboard operation
u2f-api copied to clipboard

Safari is still not working

Open aleksre opened this issue 4 years ago • 2 comments

Hi. Safari >13 support was supposedly added to v 1.2.0, but I can't get it to work.

Safari support requires a match for navigator.userAgent.match( /Safari\/(1[3456789])/ ), but this does not match the Safari user agent:

Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15

aleksre avatar Feb 19 '21 00:02 aleksre

I am having the same issue. Looks like Apple changed the way the user agent lists Safari.

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Safari/605.1.15

CodyRWhite avatar May 18 '21 00:05 CodyRWhite

I've created a PR https://github.com/grantila/u2f-api/pull/31 to update this. @grantila mind taking a look?

JoshFerge avatar Sep 28 '21 01:09 JoshFerge