Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Not unless browsers start giving this information away through the DOM which, currently, they don't. There is a <code>navigator</code> 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!!).</p> <p>Mobile Safari does add some new <a href="http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariJSRef/_index.html#//apple_ref/doc/uid/TP40001482" rel="nofollow noreferrer">DOM additions</a> but not what you're asking for.</p> <p>Short of these options, you can't. Layers of the Internet Protocol are meant to encapsulate &amp; 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.</p> <p>Finally, <strong>even if you could</strong> get this information, it wouldn't do you any good unless you had details of <em>every single node</em> in your TCP connection. For example, I could have the following setup :</p> <pre>iPad ---WiFi----> iPhone's Hotspot ---3G---> Carrier ---unknown--->>></pre> <hr> <h2>Addendum</h2> <p>In 2012-2013, the <a href="http://w3c.org" rel="nofollow noreferrer">W3C</a> was fleshing out <a href="http://www.w3.org/TR/netinfo-api/" rel="nofollow noreferrer">The Network Information API</a> which was aimed at providing <em>"an interface for web applications to access the underlying connection information of the device"</em>. <a href="http://www.w3.org/TR/2012/WD-netinfo-api-20121129/#attributes-1" rel="nofollow noreferrer">At the time</a>, the API stipulated that an "estimated" bandwidth for the browser would be obtainable via <code>navigator.connection.bandwidth</code>. <strong>As of April 2014, that work has since been discontinued!!</strong></p> <p><strong>Update:</strong> As of 20th October 2015, work continues on this API. You can find the latest <a href="https://w3c.github.io/netinfo/" rel="nofollow noreferrer">Editor's drafts for the Network Information API</a> on the W3C's github pages.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload