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

327
Views
Uncaught TypeError: Cannot read properties of undefined (reading 'network')

I'm currecntly working on a chrome extension and I need to access requests in network tab. Found the API called devtools.network. Tried to use it, but It threw an error like this:

content.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'network')
    at content.js:1

content.js:

chrome.devtools.network.onRequestFinished.addListener(function(request){
    console.log(request)
})

manifest.json:

{
  "name": "Managebac Grade Calculator",
  "version": "1.2",
  "manifest_version": 2,
  "content_scripts": [
    {
      "matches": [
        "https://opengate.managebac.com/student/*"
      ],
      "js": [
        "jquery.js",
        "content.js"
      ]
    }
  ],
  "devtools_page": "devtools.html",
  "permissions":[
    "network"
  ],
  "icons": {
    "16": "pfp.jpg",
    "48": "pfp.jpg",
    "128": "pfp.jpg"
  },
  "browser_action": {
    "default_icon": "pfp.jpg",
    "default_popup": "popup.html"
  }
}

Please help me

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!