Skip to content

Instantly share code, notes, and snippets.

@ivastly
Created February 21, 2018 13:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivastly/d1c987133051a4dfe1e0a02fb6506335 to your computer and use it in GitHub Desktop.
Save ivastly/d1c987133051a4dfe1e0a02fb6506335 to your computer and use it in GitHub Desktop.
Script to spy for Whatsapp online status of your contacts even it is turned off in settings!
// just open web.whatsapp.com, navigate to the chat with victim and run this in developer tools. Once he/she becomes online,
// you will be notified in console NOTE if the language of your whatsapp interface is not english, change the 'online' string on line 6 accordingly
setInterval(function () {
if ($('span[title="online"]') !== null) {
console.info("ONLINE: " + (new Date()));
}
}, 20000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment