Skip to content

Basic Chrome extension message passing between service worker (as sender) and content script (as receiver)

License

Notifications You must be signed in to change notification settings

dofufa/chrome-message-passing-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chrome-message-passing-2

Basic Chrome extension message passing between service worker (as sender) and content script (as receiver)

Summary

Hello! 👋

This Chrome browser extension example demonstrates simple message passing between two contexts: the content script context and the service worker context.

***********                ***********
* content *<<------message * service *
* script  *                * worker  *
*         * response----->>*         *
***********                ***********
receiver                   sender

References


About

Basic Chrome extension message passing between service worker (as sender) and content script (as receiver)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published