Is there a way to get a response body?

Hey y’all 👋 I’m building an extension to help gig drivers quickly batch classify trips on Everlance. I’ve managed to get a content script working that reads the dates and times from the UI but I’m thinking it’d be more efficient if I could manage to get the UTC formatted date time that’s in the response body. I’ve tried setting up a background service worker but that returns a 401 error. I’m wondering if there’s another way I can achieve this or if it’s best to stick with my current approach.
2 Replies
trevourblac.txt
trevourblac.txtOP•12mo ago
Managed to apply a monkey patch to solve this. Leaving the link in case it’s helpful for anyone else https://medium.com/@ddamico.125/intercepting-network-response-body-with-a-chrome-extension-b5b9f2ef9466
Medium
Intercepting Network Response BODY With A Chrome Extension
Intercepting a response body with a chrome extension is unfortunately very difficult. When reading about how to do this, I found it was…
Arcane
Arcane•12mo ago
@trevourblac.txt has reached level 1. GG!
Want results from more Discord servers?
Add your server