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

165
Views
How to know if the active tab is correct for chrome extension (manifest 3)

I am a beginner in developing Chrome Extensions. I am currently working on an extension. Consider an extension, which only works on Instagram pages (.com, .in, ... and so on). Now there are two conditions:

  1. If it is an Instagram page, the popup.html says 'YES' and change some contents of DOM.
  2. If it is not an Instagram page, the popup.html says 'NO' and there is no change in DOM.
    {
        "name": "Extension",
        "description": "Description goes here",
        "version": "1.0",
        "manifest_version": 3,
        "permissions": ["tabs"],
        "content-scripts": { // DO SOMETHING HERE
        }
    }

I am using Manifest Version 3. Can I know the way I can check if the domain of the active tab is instagram, and if it is so, then where/how should I mention the source of the js file to be executed.

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!