How to Send a Request for Data from a Website to an Extension
While the docs for creating a Chrome extension are really quite good, I initially struggled to figure out the right way for my extension to communicate with a webapp (specifically: sending a request for data from the webapp to an extension and receiving a response). There can be a lot to read, and with extension changes from Manifest v2 to v3 some docs can be a bit misleading as well. I thought I’d distill my knowledge on this to a simple tutorial and hopefully make this easier for anybody out there who needs it.