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 6241099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:41:53+00:00 2026-05-24T11:41:53+00:00

It is possible for a content script to talk to the background page using

  • 0

It is possible for a content script to talk to the background page using

chrome.extension.sendRequest

It is possible for the background page to talk to the content script using

chrome.tabs.getSelected(null, function(tab) {
  chrome.tabs.sendRequest(tab.id, {}, function(response) {
      // do something with response here
  })
})

It is possible for a page_action popup to talk to the background page using

chrome.extension.sendRequest

So, is there a way for the background page to talk to the popup?

The use case is one where

  • the popup is open and wants to get some information from the page

  • so it sends a request to the background page

  • the background page now sends a request to the content script

  • and the content script sends a response back to the background page.

  • So now the background script needs to send this to the popup !!

    How does that happen?

  • 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-24T11:41:54+00:00Added an answer on May 24, 2026 at 11:41 am

    You can, using chrome.extension.sendRequest, as long as popup remains open.

    But looking at your workflow, why not just skip background page and send request to a content script directly from a popup? Then you can just use sendResponse() to return the data back to popup.

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

Sidebar

Related Questions

I'm using a simple jQuery script for tabs: The JS: $(document).ready(function() { $(.tab-content).hide(); $(ul.tabs
So is it possible to snag the entire content of a page in its
Using php coding, I'm attempting to make a script which will grab content from
I am wondering if it is possible to animate background url using jQuery, and
Is it possible to change the content of a webpage using ajax? My need
I'm using this zoom script on my site: http://www.gcmingati.net/wordpress/wp-content/lab/jquery/minizoompan/ At present, the default setup
Background: When generating HTML content with PHP or any such thing, it is possible
Is it possible to call javascript inside a shell script? For example, echo Content-type:
I'm making a Google Chrome extension. My extension currently extends the content area and
Is there a Chrome extension post install hook/API function that will let me perform

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.