mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
check tab
This commit is contained in:
@@ -402,6 +402,10 @@ function messageTab(tabId, command, data, callback) {
|
||||
}
|
||||
|
||||
function collectPageDetailsForContentScript(tab, sender) {
|
||||
if (!tab || !tab.id) {
|
||||
return;
|
||||
}
|
||||
|
||||
chrome.tabs.sendMessage(tab.id, { command: 'collectPageDetails', tab: tab, sender: sender }, function () {
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user