mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-10 01:28:36 +02:00
dont load notification bar in iframe on safari
This commit is contained in:
parent
193de9fcdf
commit
8f51c278ef
@ -19,6 +19,10 @@ document.addEventListener('DOMContentLoaded', (event) => {
|
||||
navigator.userAgent.indexOf('Chrome') === -1;
|
||||
|
||||
if (isSafari) {
|
||||
if (inIframe) {
|
||||
return;
|
||||
}
|
||||
|
||||
const responseCommand = 'notificationBarDataResponse';
|
||||
safari.self.tab.dispatchMessage('bitwarden', {
|
||||
command: 'bgGetDataForTab',
|
||||
|
Loading…
Reference in New Issue
Block a user