Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7696661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:49:56+00:00 2026-05-31T21:49:56+00:00

Using a Google Chrome Extension, I would like to fire some event or somehow

  • 0

Using a Google Chrome Extension, I would like to fire some event or somehow detect every HTTP response I receive in my browser.

Pretty much – I want to detect exactly what the “Network” tab of the Chrome developer tools sees using a Google Chrome Extension.

For example, if I open the Network tab and go to Google.com I see every .js, .css, image, etc. Can I somehow detect that?

Edit:

I have tried the following (which I would expect to get fired after each request completes):

chrome.webRequest.onCompleted.addListener(function(details) { alert('hey'); });

But that never seems to get fired.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T21:49:57+00:00Added an answer on May 31, 2026 at 9:49 pm

    You can use the Web Request api for that, be aware that this came in at Chrome version 17 so youll have to set the minimum_chrome_version to 17.
    http://code.google.com/chrome/extensions/webRequest.html
    http://code.google.com/chrome/extensions/manifest.html#minimum_chrome_version

    manifest.json

    {
      "name": "WebRequest",
      "description": "WebRequest - onCompleted",
      "version": "0.1",
      "permissions": ["<all_urls>", "webRequest"],
      "background": {
        "scripts": ["background.js"]
      },
      "manifest_version": 2
    }
    

    background.js

    chrome.webRequest.onCompleted.addListener(function(details) {
        console.debug(details);
    }, {
        urls: ["<all_urls>"]
    });
    

    Go to the background page and look in the console when a page is loading/loaded.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to use some of the Google AJAX APIs in my Chrome
I would like to create a google chrome extension. Specifically, I'd like to make
I would like to write a small Google Chrome extension in which I use
When using Google Chrome, I want to debug some JavaScript code. How can I
Note: I'm using Google Chrome Currently I have this test page http://www.evecakes.com/doodles/canvas_size_issue.htm It should
I am attempting to set up a chrome extension similar to http://code.google.com/chrome/extensions/trunk/samples.html#webrequest except that
I've seen people using *.cfg (Python Buildout), *.xml (Gnome), *.json (Chrome extension), *.yaml (Google
I want to save content of page in mongodb using google chrome extension. What
I am using chrome.tabs.create() to open a new tab in my Google Chrome extension.
I'm trying to make a google chrome extension using javascript/html. Currently, I'm simply trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.