Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

90
Views
Capture network requests in a chrome extension

I'm building a chrome extension, and I'm currently trying to capture all the fonts from a network request, and print their details to the console.

Here's what my background script looks like:

function processRequest(dict) {
  console.log("inside test");
  console.log(dict);
}

chrome.webRequest.onCompleted.addListener(processRequest, {
  urls: ["https://developer.chrome.com/*"],
  types: ["font"],
});

console.log("outside test");

When I look in the console, it prints outside test but not inside test. However, based on the google's documentation I would expect the code inside of my processRequest function to run.

Is there something that I'm missing here? My goal is to capture all the fonts from the network request and print those to the console. Any help would be appreciated — thanks!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!