The chrome.extension
module
has utilities that can be used by any extension page.
Unlike the other chrome.* APIs,
parts of chrome.extension
can be used by content scripts:
connect()
and
onConnect
getURL()
For details, see Content Scripts.