arasatasaygin / is.js

Micro check library
http://is.js.org
MIT License
9.16k stars 625 forks source link

Improve safari user-agent detection #300

Open bedis-elacheche opened 5 years ago

bedis-elacheche commented 5 years ago

is.safari() returns true for Facebook inapp browser because the user-agent may contain safari and chrome at the same time. Return true only if the user-agent contains safari but not chrome. fixes: #296

evdama commented 2 years ago

I've added this now https://github.com/evdama/is.js/commit/a9f01bbdc59aad56c134398afb8c7c423cbbb8bb Can you test and maybe close this one?