I'm a beginner in creating browser plug-ins. Could some kind soul help me with the best way to transfer data between browser tabs? I would like to transfer data from a script running on an inactive tab in real time and use it to control the operation of the page on the active tab. I will be grateful for any advice that will bring me closer to understanding the topic.
I'm trying to use the Web Audio API to analyze the sound played in a video element on an inactive tab and send it in real time to the active tab using a plugin.
I did it like this:
content.js:
It works, but i dont know Tuya API then i used Device Debugger