> The 'name' field is whatever you passed to chrome.extension.connect() in the
> second param. I think it would be difficult to guarantee that is unique. A
> better identifier might be the ID of the tab that sent the message (assuming
> you're connecting from a content script to a background page), which is
> available on port.sender.tab.id.

perfect! thanks again!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to chromium-extensions@googlegroups.com
To unsubscribe from this group, send email to 
chromium-extensions+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to