Just a note on WebExtension: it's an API from W3C so this code may work on Firefox, Edge, Opera etc :)
Oh good to know! I'll need to try it out.
Here is the w3c guidelines - browserext.github.io/browserext/
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.