rizwansoaib / whatsapp-monitor

Free Whatsapp Online Tracker 📲 | WhatsApp last seen tracker | [Get Notification 🔔 and history 📜 of Online WhatsApp Contact]
https://wpmonitor.online
GNU General Public License v3.0
1.03k stars 199 forks source link

Only working if you're actively using/on WhatsApp #145

Open cflowers007 opened 2 years ago

cflowers007 commented 2 years ago

Describe the bug As of a few days ago, I've noticed that the extension only logs online activity if you're actively using WhatsApp. I verified this by comparing the time I was last active on Whatsapp with the time the extension last logged online activity, and the time stamps are an exact match.

I've also noticed that if you're only monitoring one number and that specific chat isn't the one that's open in WA Web, the extension doesn't log anything.

To Reproduce Steps to reproduce the behavior:

  1. Go to WA Web, make sure you've activated the extension so that you're monitoring a number
  2. Note the time or time period when you're not actively using WhatsApp (whether on phone or computer)
  3. Go to dashboard and confirm that the extension didn't log online history during the time period when you weren't using WhatsApp
  4. Start using WhatsApp, see the number being monitored go online/offline
  5. Go back to dashboard, where you'll see that this recent online history, while you were actively using WhatsApp was logged

Expected behavior Online behavior should be logged regardless of whether you're active on Whatsapp or not.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

rainbowtux commented 2 years ago

Same for me. Desktop: Firefox 95.0.2 on Linux Version: 2.7 (latest release)

Smartphone: Android 10

MegaMatze commented 2 years ago

Also for me on Ubuntu Firefox and windows Chrome

rizwansoaib commented 2 years ago

i have tested with pyautogui its working you can move mouse with script.

import pyautogui as pg while 1: pg.moveTo(1500, 350, duration = 1) pg.moveTo(1500, 300, duration = 1)

rizwansoaib commented 2 years ago

Above are python based if you want js there is robotjs.

rizwansoaib commented 2 years ago

You need to move according to your screen size and before debug don't try to run in infinite loop while 1.

move just one place to other place in whatsapp web.

rizwansoaib commented 2 years ago

I tried to built in feature for moving mouse but Chrome does not provide in extension so for moving mouse os system programming required so you can do according to your need it will just 4 lines code in python.

rizwansoaib commented 2 years ago

or i will try to build a tool specially for auto move mouse in whatsapp web in Tkinter or any other framework.

I am not free now so it will take time so if anyone want to build this raise PR I will merge.

Thank You

Tarumahr commented 2 years ago

Similiar problem here. If the main windows are minimized, the monitoring doesn't work at all. Tested more times. Please fix that :( OS: Win 10 Pro 21H2 App: EXE launcher (Beta multi-device)

@rizwansoaib #145 EDIT: DEBUG HERE: Fix is done with NON-beta device (I have to test with "beta" too.) Win10Pro x64 21H2 - EXE 1.4 The monitoring mode it's working. How?

1) Set the WA device in a single device mode (old mode, non-beta); 2) Start monitoring after setting the contacts to monitor (you have to put a chat in the main windows); 3) You CAN minimize the "monitoring GUI"; 4) You CAN'T minimize the "main GUI" (WA); 5) You CAN put the "main GUI" in the background (so you can use other apps, just don't minimize WA main GUI);

SUGGESTIONS: 1) Let us choose WHO to track, selecting the number or the contact; 2) Let us choose if having a MINIMAL AND SIMPLE MONITORING GUI (less performance impact; too heavy right now - especially from to 1.3 to 1.4 update) 3) A Good Updated tutorial for "random people" can be useful; 4) Simplify how to download the updated .exe file...(actually I have to change page more times and switch website); 5) Update pages; Some of them are old and tell ".exe are not supported anymore"

@rizwansoaib Thanks for your hard work, mate.

rizwansoaib commented 2 years ago

Use script pyautogui

On Tue, 15 Feb, 2022, 3:47 pm Tarumahr, @.***> wrote:

Same problem here. If I'm not actively using the web app (exe app on W10 Pro 21h2), the monitor doesn't work at all. Tested more times. Please fix that :( OS: Win 10 Pro 21H2 App: EXE launcher (Beta multi-device) [seems the same problem persist on single device too, non-beta]

— Reply to this email directly, view it on GitHub https://github.com/rizwansoaib/whatsapp-monitor/issues/145#issuecomment-1040095080, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHC2EZEHJ53AJPRVJPEJPJDU3IR4FANCNFSM5NCFHGWQ . You are receiving this because you commented.Message ID: @.***>

-- Disclaimer:  Messages from 'knit.ac.in http://knit.ac.in' mail server and any associated files may contain information that is confidential, subject to copyright or contains proprietary information. If you are not the intended addressee you are hereby notified that any dissemination, copying or distribution of these messages, or files associated with these messages is prohibited. If you have received the message in error, please notify us by replying to the concerned message and deleting it from your computer. Please also scan the message to verify that it is virus free. Thank you for your time.

This email is governed by the Disclaimer Terms of  KNIT.

cflowers007 commented 2 years ago

pyautogui

import pyautogui as pg while 1: pg.moveTo(1500, 350, duration = 1) pg.moveTo(1500, 300, duration = 1)

You need to move according to your screen size and before debug don't try to run in infinite loop while 1.

move just one place to other place in whatsapp web.

Could you edit your script to show how to not run in infinite loop while 1? For example, my screen size is 2560 x 1600, so after installing PyAutoGUI, what script could I run so I'm moving the mouse from out place to another?

Sorry for such a beginner request, but I'm not sure if changing while 1: to while 2: would be the solution or what I'd have to change/add.

Thank you!

rizwansoaib commented 2 years ago

To break infinite you need to just quickly move mouse to any corner of screen. Your script will stop working

On Mon, 21 Feb, 2022, 9:37 am charlieflowers, @.***> wrote:

pyautogui

import pyautogui as pg while 1: pg.moveTo(1500, 350, duration = 1) pg.moveTo(1500, 300, duration = 1)

You need to move according to your screen size and before debug don't try to run in infinite loop while 1.

move just one place to other place in whatsapp web.

Could you edit your script to show how to not run in infinite loop while 1? For example, my screen size is 2560 x 1600, so after installing PyAutoGUI, what script could I run so I'm moving the mouse from out place to another?

Sorry for such a beginner request, but I'm not sure if changing while 1: to while 2: would be the solution or what I'd have to change/add.

Thank you!

— Reply to this email directly, view it on GitHub https://github.com/rizwansoaib/whatsapp-monitor/issues/145#issuecomment-1046452788, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHC2EZAKLBWN2RJC5W664NDU4G27FANCNFSM5NCFHGWQ . You are receiving this because you were mentioned.Message ID: @.***>

-- Disclaimer:  Messages from 'knit.ac.in http://knit.ac.in' mail server and any associated files may contain information that is confidential, subject to copyright or contains proprietary information. If you are not the intended addressee you are hereby notified that any dissemination, copying or distribution of these messages, or files associated with these messages is prohibited. If you have received the message in error, please notify us by replying to the concerned message and deleting it from your computer. Please also scan the message to verify that it is virus free. Thank you for your time.

This email is governed by the Disclaimer Terms of  KNIT.

cflowers007 commented 2 years ago

How? :) Would it be possible for you to provide an example script so I replicate it for myself? From the script you provided, what would need to changed/added? My screen size is 2560 x 1600

import pyautogui as pg while 1: pg.moveTo(1500, 350, duration = 1) pg.moveTo(1500, 300, duration = 1)

And how do you stop or pause the script so I can use my computer?

Thanks so much!!

rizwansoaib commented 2 years ago
  1. Download python3 and install pip also
  2. Install pyautogui package ( in terminal-> pip3 install pyautogui)
  3. Create script.py file and paste code 1500 is x coordinate and 350 is y coordinate of your screen you can edit as your running program and screen.
rizwansoaib commented 2 years ago

To stop script just move cursor to any corner of screen quickly script will stop

rizwansoaib commented 2 years ago

You can watch some pyautogui tutorial on YouTube for more details and information.

LouisXIVLouis commented 2 years ago

Using Chromium on Raspbian now. Couldn't get pyautogui to work on Ubuntu. I found I needed to click also. If you use relative movement of the mouse you can position it anywhere you need after launching the script and you don't need to know your screen size.

import pyautogui import time while 1: pyautogui.moveRel(25, 0, duration=1) pyautogui.moveRel(0, 25, duration=1) pyautogui.moveRel(-25, 0, duration=1) pyautogui.moveRel(0, -25, duration=1) pyautogui.click() time.sleep(60)

Edited 29/03 "Chromium" instead of "Chrome". Extension V2.7 seems to work fine

rizwansoaib commented 2 years ago

@LouisXIVLouis Thanks for update

rizwansoaib commented 2 years ago

176 Mouse Jiggler

cflowers007 commented 2 years ago

Mac users can download Jiggler that's easy to use, free, and works perfectly: (http://www.sticksoftware.com/software/Jiggler.html )

https://github.com/bhaller/Jiggler

rizwansoaib commented 2 years ago

wss://web.whatsapp.com/ws/chat?ED=CAgIAg
if we try to connect websocket again it got disconnected again in 10sec even after open websocket connection not worked

ANKAMAM commented 1 year ago

hi rizwan is there anyway to work wa online or offline app you know wa last update is not good for us how can we do this is it possible to buy api

SignorPollito commented 1 year ago

To fix this, if you are on FireFox, you can just install the extension: https://add0n.com/always-active.html

I tried this and it's good, event if I'm not in the tab and using other applications it works

ANKAMAM commented 1 year ago

Hello there

Is this whatsapp online offline tracker solution?

To fix this, if you are on FireFox, you can just install the extension: https://add0n.com/always-active.html

I tried this and it's good, event if I'm not in the tab and using other applications it works

SignorPollito commented 1 year ago

Hello there

Is this whatsapp online offline tracker solution?

To fix this, if you are on FireFox, you can just install the extension: https://add0n.com/always-active.html

I tried this and it's good, event if I'm not in the tab and using other applications it works

I have tested it all the day and the answers is yes, but also no.

It seems to work, but after some time it stops working and you have to go on the tab again, so you can't leave it for a long time, but it's still useful if you are on the PC and you can sometime click the tab

ANKAMAM commented 1 year ago

i check it this is not whatsapp monitor extention