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

182
Views
how to make chrome extension code to run every time page changes

i have been trying to make a chrome extension to run every time a site changes without any success, i saw somewhere that i need to listen to chrome.tabs.onUpdated from a background process but it never prints anything

my manifest file

{
"manifest_version": 3,
"name": "run",
"version":"0.1",
"background": {
    "sevice_worker":"background.js"
},
"content_scripts":[{
    "matches":["<all_urls>"],
    "js":["content.js"]
}],
"action":{
    "default_popup":"popup.html"
},
"permissions":["tabs","activeTab"]
}

background.js

chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
console.log("changes fired from background.js");
});

content.js (this gets logged but just once during initial reload)

console.log("--------------------------------");
console.log("fired from content");
console.log("--------------------------------");

how would i get around doing this?

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!