Hi folks,
I am looking a way to get a specific header's value (let's say the header name is "token") from a web page. I'll use this value in my extension to make my extension's requests valid.
When the web page is loading, it makes a xmlHttpRequests and I can get this header value by devtool.js. But user must open devtools window and refresh the page to make this happen. So it s*cks.
As I searched from google, formerly it was possible to do that by "chrome.webrequest.onbeforerequest" but as I am using manifest v3, my chrome browser doesn't recognize webrequest object.
Is there any way to accomplish this by declarative_net_request? Or by any other way...
Thanks a million!