omegle isnt working anymore so this script have no use. fell free to adapt it for another website based of the same technology.
- open omegle in a browser
- open developper tools (right click > développer tools)
- navigate to the console tab in devtools
- copy the whole code
- paste it in the console
- keep the console open so you can see the output
- start using omegle
- for each stranger you encounter you will get the ip and a few more informations.