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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:34:01+00:00 2026-06-17T09:34:01+00:00

I had a good idea, which kind of revolves around ips from the server

  • 0

I had a good idea, which kind of revolves around ips from the server the user is on.

Im very new to making a google chrome extension, but i am good at the programming languages that requires to build one .

Question: Can I get a IP from a server that the user is on? and if so how would you do this?

I was thinking just AJAX the url to my own server which then pings the server which would get the ip and returns that/stores it some where.

  • 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-17T09:34:02+00:00Added an answer on June 17, 2026 at 9:34 am

    You can get current URL of tab\web Pageuser is currently browsing using chrome.tabs API

    Demonstration

    chrome.tabs.query({
        "currentWindow": true, //Filters tabs in current window
        "status": "complete", //The Page is completely loaded
        "active": true // The tab or web page is browsed at this state,
        "windowType": "normal" // Filters normal web pages, eliminates g-talk notifications etc
    }, function (tabs) { //It returns an array
        for (tab in tabs) {
            _url_i_need = tabs[tab].url;
            //Do AJAX Stuff here 
        }
    });
    

    Ensure you declare tabs permission in your manifest as shown here

    {
      "name": "My extension",
      ...
      "permissions": [
        "tabs"
      ],
      ...
    }
    

    References

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

Sidebar

Related Questions

I've had a good look around and am certain that there's no matching question
I've had a good look around but couldn't find anything that directly solves my
We're starting to standardise on a Ruby-based testing framework, having had some very good
Anyone have any idea which Resource manager is good for PVM? Or should I
I know that in a subroutine in Perl, it's a very good idea to
I have an offline processing server which charges me very little for cpu cycles
Had a good read through similar topics but I can't quite a) find one
Had a good search here but can't see anything that gets my mind in
I though I had a good understanding of how C++ worked but I'm confused
I've had a good search and am stumped. It may be a simple answer,

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.