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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:32:37+00:00 2026-06-17T12:32:37+00:00

I have a Chrome extension. Currently, when the extension opens, an $.ajax request is

  • 0

I have a Chrome extension. Currently, when the extension opens, an $.ajax request is made using JQuery. Based on the results of the request, the extension popup will then format and display the request data. My solution is functional, but user experience is lacking because every time my extension is clicked, I’m displaying a little “loading” message for 1-2 seconds while the ajax request is made.

Is there any way to perform this $.ajax request BEFORE my extension is opened? Perhaps when the browser opens, or when the tab opens? It would be wonderful if the $.ajax request could be made before the popup is opened, so as soon as the user clicks my extension, the data is immediately displayed – no “loading” message.

  • 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-06-17T12:32:37+00:00Added an answer on June 17, 2026 at 12:32 pm

    Use Background\Event Pages for making $.ajax request right after loading extension and before click of browser popup and you can format your popup page before click as well.

    You need to use message communication if changes are to be passed from background to popup page.

    References

    • Background Pages
    • Message Communication
    • Event Pages
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this chrome extension that shows some content in the popup.html. As the
I have a Chrome extension that has some links in it. Currently when clicked
I'm building a Chrome extension, which uses multiple APIs. Currently I have it set
I'm trying to make a google chrome extension using javascript/html. Currently, I'm simply trying
I have a simple javascript form in a chrome extension popup. When clicking the
I have a chrome extension and its popup.html has a link to a oauth/openid
I have an extension which using chrome local storage. I connect to the local
I am currently writing a chrome extension so that I have a button on
I have a Chrome extension for custom keyboard shortcuts which currently registers the shortcuts
I have a Chrome extension that I am working on that will POST data

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.