Coder Social home page Coder Social logo

wp-online-tracker's Introduction

wp-online-tracker

WhatsApp online tracker with desktop notification.

Bookmark

If you want to use as a bookmark copy and paste this to bookmark section

javascript:void function(){alert("Ready! Set! Go!"),console.clear();const a=document.querySelector("%23main > header > div._24-Ff"),b=document.querySelector("%23main > header > div._24-Ff > div > div > span").innerHTML,c=new MutationObserver(a=>{function c(){new Notification(`${b}`,{body:e,icon:"https://upload.wikimedia.org/wikipedia/commons/5/5e/WhatsApp_icon.png"})}const d=a[0].target.outerText;let e=String,f=new Date().getDay(),g=new Date().getHours(),h=new Date().getMinutes(),i=new Date().getSeconds();d.includes("\xE7evrimi\xE7i")%3F(console.log(`Şu an çevrimiçi ${f}:${g}:${h}:${i}`),e=`Şu an çevrimiçi ${f}:${g}:${h}:${i}`):!d.includes("\xE7evrimi\xE7i")%26%26(console.log(`Şu an çevrimdışı ${f}:${g}:${h}:${i}`),e=`Şu an çevrimdışı ${f}:${g}:${h}:${i}`),"granted"===Notification.permission%26%26c()});c.observe(a,{childList:!0})}();

How to use as a bookmark ?

Copy the code in this above. Open browser bookmark section. Paste this code as a "page" then open WhatsApp. Select the chat who you want to track online. Click and run. It's send you a notification when person who you want to track is online or offline.

Console usage

Select the chat who you want to track online. Right click and inspect the page. Open "Console" section in devtools. Copy the code in script.js file. Paste and hit enter.

Disclaimer: If this code don't push a notification in your desktop that means you'll need to allow the WhatsApp Web to send you a notification.

wp-online-tracker's People

Contributors

mustafadede avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.