Skip to content

brenovambaster/WhatsApp-last-seen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation


WhatsApp-last-seen

When was it last seen and how long it was online.

Copy the javascript code and paste in the browser console after opening an inbox in whatsapp web.

Code:

let b = setInterval(() => {
    let hora = new Date;
    let a = document.getElementsByClassName("_2YPr_ i0jNr selectable-text copyable-text");
    if (a.length == 0) {
        console.log("off");
    } else if (a[0].title == "online") {
        console.log(`online ${hora.getHours()}:${hora.getMinutes()}`);
    }else{
        console.log("undefined");
    }
}, 3000)
b;

❗🔺 Considerations

  • The code is intended for parents to monitor their children when they are online (especially during the night).
  • Just copy and paste into the console, after opening the chat, and leave it running. To do this, you must keep the computer turned on and the whatsapp web open.

image

About

When was it last seen and how long it was online.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published