Index: messageResponder.js |
=================================================================== |
--- a/messageResponder.js |
+++ b/messageResponder.js |
@@ -202,16 +202,19 @@ |
{ |
return { |
devToolsPanel: info.platform == "chromium" || |
info.application == "firefox" && |
parseInt(info.applicationVersion, 10) >= 54 |
}; |
} |
+ if (message.what == "senderId") |
+ return sender.page.id; |
+ |
return info[message.what]; |
}); |
port.on("app.listen", (message, sender) => |
{ |
getListenerFilters(sender.page).app = message.filter; |
}); |