Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

92
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda