whatsapp-monitor icon indicating copy to clipboard operation
whatsapp-monitor copied to clipboard

Only working if you're actively using/on WhatsApp

Open cflowers007 opened this issue 2 years ago โ€ข 25 comments

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):

  • OS: macOS Big Sur Version 11.6.3
  • Browser: Chrome
  • Version : 97.0.4692.99 (Official Build) (arm64)

Smartphone (please complete the following information):

  • Device: iPhone 13 Pro
  • OS: 15.2
  • WhatsApp version 2.22.2.76 (not part of beta)

cflowers007 avatar Jan 29 '22 00:01 cflowers007

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

Smartphone: Android 10

rainbowtux avatar Jan 31 '22 09:01 rainbowtux

Also for me on Ubuntu Firefox and windows Chrome

MegaMatze avatar Feb 02 '22 15:02 MegaMatze

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 avatar Feb 11 '22 13:02 rizwansoaib

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

rizwansoaib avatar Feb 11 '22 13:02 rizwansoaib

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 avatar Feb 11 '22 13:02 rizwansoaib

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 avatar Feb 11 '22 13:02 rizwansoaib

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

rizwansoaib avatar Feb 11 '22 14:02 rizwansoaib

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.

Tarumahr avatar Feb 15 '22 10:02 Tarumahr

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.

rizwansoaib avatar Feb 15 '22 10:02 rizwansoaib

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!

cflowers007 avatar Feb 21 '22 04:02 cflowers007

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.

rizwansoaib avatar Feb 21 '22 04:02 rizwansoaib

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!!

cflowers007 avatar Feb 27 '22 22:02 cflowers007

  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 avatar Feb 28 '22 01:02 rizwansoaib

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

rizwansoaib avatar Feb 28 '22 01:02 rizwansoaib

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

rizwansoaib avatar Feb 28 '22 01:02 rizwansoaib

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

LouisXIVLouis avatar Mar 29 '22 12:03 LouisXIVLouis

@LouisXIVLouis Thanks for update

rizwansoaib avatar Mar 29 '22 13:03 rizwansoaib

#176 Mouse Jiggler

rizwansoaib avatar Jun 06 '22 15:06 rizwansoaib

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

cflowers007 avatar Jun 28 '22 18:06 cflowers007

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

rizwansoaib avatar Jul 06 '22 05:07 rizwansoaib

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

ANKAMAM avatar Jan 05 '23 16:01 ANKAMAM

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 avatar Jan 26 '23 16:01 SignorPollito

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

ANKAMAM avatar Jan 26 '23 19:01 ANKAMAM

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

SignorPollito avatar Jan 26 '23 19:01 SignorPollito

i check it this is not whatsapp monitor extention

ANKAMAM avatar Jan 26 '23 21:01 ANKAMAM