Extension that can communicate with native-app to change the state of Mystic Light devices on browser events
- the extension is build using Plasmo Framework
- extension reads config file that is populated from the native-app (and that is why extension requires "Allow access to file URLs") in order to figure out how to communicate with it
- extension adds listener for browser fullscreen events
- when browser enters fullscreen the extension:
- requests current devices state and stores it in memory
- sends new state for devices with disabled lighting
- when browser exists fullscreen the extension:
- sends previous stored state to revert it to previous state