webextensions-examples icon indicating copy to clipboard operation
webextensions-examples copied to clipboard

Example to share data between background.js, contentscript and popup.js

Open devcer opened this issue 8 years ago • 1 comments
trafficstars

I didn't found any example to share data between these js files. Do we have one already? I created one to share data between popup.js and background.js here< https://github.com/viswanathamsantosh/hydrator >. Will look into the contribution guide this weekend to check how I can include this example in this repo.

devcer avatar Aug 30 '17 11:08 devcer

There are quite a few examples: https://github.com/mdn/webextensions-examples/search?utf8=%E2%9C%93&q=runtime.onMessage&type=

However, it may be helpful to create a new example specific to sharing data so that people could find it more easily when scanning the names of each example.

kumar303 avatar Sep 25 '17 16:09 kumar303

No activity within the last three years, closing.

rebloor avatar Jul 30 '23 23:07 rebloor