Skip to content
r.

webrtc-ips

diafygi/webrtc-ips · Public GitHub repository

Demo: https://diafygi.github.io/webrtc-ips/

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

webrtc-ips live demo screenshot
Captured from the live demo · 2026-10-31

About this project

Author-written excerpt from the project README.

Firefox and Chrome have implemented WebRTC that allow requests to STUN servers be made that will return the local and public IP addresses for the user. These request results are available to javascript, so you can now obtain a users local and public IP addresses in javascript. This demo is an example implementation of that.

Additionally, these STUN requests are made outside of the normal XMLHttpRequest procedure, so they are not visible in the developer console or able to be blocked by plugins such as AdBlockPlus or Ghostery. This makes these types of requests available for online tracking if an advertiser sets up a STUN server with a wildcard domain.

Requirements and intended audience

Firefox and Chrome have implemented WebRTC that allow requests to STUN servers be made that will return the local and public IP addresses for the user. These request results are available to javascript, so you can now obtain a users local and public IP addresses in javascript. This demo is an example implementation of that.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-25. Source: https://github.com/diafygi/webrtc-ips/blob/master/README.md

Recorded maintenance information

Last recorded source update: 2023-12-27. A published release has not been recorded. These dates do not guarantee ongoing maintenance.

Technologies
HTML
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-16. This does not test every feature.

Browse related categories