mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
stronger device type checks
This commit is contained in:
@@ -994,7 +994,8 @@
|
||||
End 1Password Extension
|
||||
*/
|
||||
|
||||
if ((typeof safari !== 'undefined')) {
|
||||
if ((typeof safari !== 'undefined') && navigator.userAgent.indexOf(' Safari/') !== -1 &&
|
||||
navigator.userAgent.indexOf('Chrome') === -1) {
|
||||
safari.self.addEventListener('message', function (msgEvent) {
|
||||
var msg = msgEvent.message;
|
||||
if (msg.command === 'collectPageDetails') {
|
||||
|
||||
Reference in New Issue
Block a user