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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:03:49+00:00 2026-05-27T15:03:49+00:00

i am successful in fetching the current tab url in chrome plugin and i

  • 0

i am successful in fetching the current tab url in chrome plugin and i am also able to store it in mysql db using crossdomain ajax. but these all happen only when i click on the plugin is it possible to automate it as soon as tab is changed ?

window.addEventListener("load", windowLoaded, false);

i want to initiate the windowloaded function as soon as the tab is changed.

  • 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-27T15:03:49+00:00Added an answer on May 27, 2026 at 3:03 pm

    Just use the chrome.tabs Events google offers. In your case the most appropriate seems the onActiveChanged-Event.

    But remember to set the permission in your manifest-file. Otherwise it won’t work.

    Also note that this won’t work in content scripts.

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

Sidebar

Related Questions

After successful setup on initial launch of MySQL, the page prompted me to set
I have been successful at rounding my value to one decimal point, but I
The following query was successful when I used in mysql INSERT INTO user(`dev_id`,`email`) VALUES('123','456@gmail.com');
I'm using core data and fetching the results successfully. I've few questions regarding core
I'm retrieving/fetching content with jQuery AJAX, displaying it on the page and trying to
I'm using lightopenid as the login system for a site and after successful login,
I have been successful at adding the pins but I need the pins to
I am fetching the list of tables from the database. I am using this
I am using select like this and it is fetching record successfully: $table =
I'm working on fetching data from wiki pages. I'm using a combination of php

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.