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

219
Views
Chrome extension to listen for when a "subscriber form" popup is rendered on a site and automatically inject name, email into the popup's form

I am learning to code and starting with browser plugins for practice. I have a plugin project where I have to do the following:

  1. Listen for what tab (and url) the user is currently on
  2. Listen for if a JS popup is rendered (specifically any of the popular popups that help sites grab new subscribers)
  3. Automatically inject the popup's subscriber form the name and email I have pre-approved the plugin to share

I think I have step 1 working right with the code below (I tested it with console.log statements.

chrome.tabs.onActivated.addListener(tab =\> {
chrome.tabs.get(tab.tabId, current_tab_info =\> {

});
});

If this is correct, what code should I add inside the chrome.tabs.get function to make steps 2 and 3 above work as intended?

Thank you for your support.

Best, N

The code above works fine, I am not sure how to proceed with steps 2 and 3 above.

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!