John Hansfeldt
unread,May 27, 2024, 7:04:33 PMMay 27Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions
I'm developing a Chrome extension that reads and displays requests from various marketing platforms (e.g., Facebook Pixel, Google Ads, LinkedIn, GA4 etc.) by using the chrome.webRequest API. While my extension works well for most requests, I encounter an issue with requests that are served from Chrome's in-memory cache(often from service workers).
When requests are answered from Chrome's in-memory cache, they do not appear in my extension. This is problematic because I need to capture and process these requests for accurate data tracking and display. Despite being visible in the browser's Network tab, these cached requests are invisible to the webRequest API.
I have read the documentation and think i understand that the limitation probably is the webRequest API itself but i have also tried various attempts with DNR(declarativeNetRequest )but has not worked so far. Has anyone solved this themself and how?