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

  • SEARCH
  • Home
  • 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 8978957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T19:43:54+00:00 2026-06-15T19:43:54+00:00

There is a website and I created a chrome extension for this website, if

  • 0

There is a website and I created a chrome extension for this website, if user have log in the website, is there any solution to let user don’t need to log in the chrome extension again?
Anyone can help me?

  • 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-15T19:43:56+00:00Added an answer on June 15, 2026 at 7:43 pm

    First: in your background page, add an iframe with a src=”yoursitesurl”. Then embed that iframe into body of the background page. The document may not have a “body”, so you may need to create that also. Then you can add the iframe to the body. the iframe will not load until you add it to the body, from my experience.

    Second: add the following to your manifest.json:

    "content_scripts":[
        {
            "matches":["yoursiteurl.com"],
            "js":["content.js"],    
            "all_frames":true
        }
    ]
    

    Then create the “content.js” file. It will be loaded into you website in the iframe. In the content.js you will write JavaScript that will harvest the data from your site that you need. Then you will pass it back to the background page.

    Third: pass it back to the background page. To pass the data from your content_script to the background page, do the following:

    //In the content.js
    chrome.extension.sendMessage(undefined,{data:<thedateyougather>});
    
    //In your background page
    chrome.extension.onMessage.addListener(function(message, sender){
        //in here you write the code that will display the data from your site.
    });
    

    In the onMessage listener in the background page, you can do anything you want with the data from your site. You can save it to localStorage. You could alert it to the user. You could pass it to the popup.html. I am not sure what you want to do once you have the data, so this is where I stop, as I am not sure what you want to do next.

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

Sidebar

Related Questions

I have a classifieds website, and in the index.html there is a form. This
There is a website that was created using ColdFusion (not sure if this matters
In my website there is a link like this http://backlinks.cheapratedomain.com/backlinks.php?url=emobileload.com for better SEO I
Is there any website where people share and discuss good examples of object-oriented design?
Is there any website which provides core java based programming challenges that tests programming
In this website there are a list of for loop variations. I can understand
There is a website in Joomla, the NavigationPath ist domain.tld/index.php/produkte/produkt1.html this work fine. But
Hi I have created a portfolio website using HTML and CSS and I have
I have a small website that i published and then i created a virtual
I'm writing a Chrome extension that works with a website that uses ISO-8859-1. Just

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.