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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:05:38+00:00 2026-05-28T16:05:38+00:00

I am specifically asking about javascript on a mobile webpage, not an objective-c application.

  • 0

I am specifically asking about javascript on a mobile webpage, not an objective-c application. Is there something like Apple Reachability for javascript so I can tell when Edge, 3G or Wifi connection is made or 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-28T16:05:39+00:00Added an answer on May 28, 2026 at 4:05 pm

    Not unless browsers start giving this information away through the DOM which, currently, they don’t. There is a navigator javascript objects which holds many things but not what you’re looking for. I’ve also read in the news recently that some cellular carrier was adding cookies to HTTP requests made on their phones. They were found to be adding customer IDs to cookies (huge security breach!!).

    Mobile Safari does add some new DOM additions but not what you’re asking for.

    Short of these options, you can’t. Layers of the Internet Protocol are meant to encapsulate & hide the details of the bottom layers. You can’t detect Edge, 3G or Wifi any more than you can detect cable, DSL or finer optics.

    Finally, even if you could get this information, it wouldn’t do you any good unless you had details of every single node in your TCP connection. For example, I could have the following setup :

    iPad  ---WiFi---->  iPhone's Hotspot  ---3G--->  Carrier ---unknown--->>>

    Addendum

    In 2012-2013, the W3C was fleshing out The Network Information API which was aimed at providing "an interface for web applications to access the underlying connection information of the device". At the time, the API stipulated that an "estimated" bandwidth for the browser would be obtainable via navigator.connection.bandwidth. As of April 2014, that work has since been discontinued!!

    Update 1: As of 20th October 2015, work continues on this API. You can find the latest Editor’s drafts for the Network Information API on the W3C’s github pages.

    Update 2: In June 2020, Apple declined to implement the Network Information API in Safari due to privacy concerns

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

Sidebar

Related Questions

I am specifically asking about this paragraph in the Android documentation: If the object
Specifically, when you create an interface/implementor pair, and there is no overriding organizational concern
Specifically, I have a model that has a field like this pub_date = models.DateField(date
We have an application that was built using .NET 3.5. There is a situation
I'm researching PHP security best practices and specifically the HTML Purifier library. I like
How can I test my app on high density, large screen emulator? I'm asking
I would like to know whether the usage of Attributes in .Net, specifically C#,
First of all, I am not asking is it OK if I totally forget
Specifically this is regarding when using a client session cookie to identify a session
Specifically, is the following legal C++? class A{}; void foo(A*); void bar(const A&); int

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.