0

I am trying to understand how a Chrome extension I use works. This extension takes a user input, fetches data from an external API and displays it in a popup.

In inspecting the extension's background JS, Chrome only reveals a bunch of failed (401 Unauthorized) requests with no data in the response body. However, this extension appears to be functional and fetching the data I'm requesting from the API, as I see the contents being displayed in the popup.

Am I missing something? How is it that this extension appears to be fetching the requested data, yet all of the network requests in the inspector are returning 401 Unauthorized without a response body?

enter image description here

Spoon
  • 11
  • 1
  • 2
  • If you capture the network on the PC side with Wireshark or tcpdump, you can check that the extension is actually communication with the external server. – Norio Yamamoto Nov 01 '22 at 06:49

0 Answers0