mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
process messages in background runtime
This commit is contained in:
@@ -995,7 +995,7 @@
|
||||
*/
|
||||
|
||||
if ((typeof safari !== 'undefined')) {
|
||||
safari.self.addEventListener('bitwarden', function (msgEvent) {
|
||||
safari.self.addEventListener('message', function (msgEvent) {
|
||||
var msg = msgEvent.message;
|
||||
if (msg.command === 'collectPageDetails') {
|
||||
var pageDetails = collect(document);
|
||||
|
||||
Reference in New Issue
Block a user