Giter Site home page Giter Site logo

Comments (12)

Stamperx avatar Stamperx commented on September 22, 2024

Just an update : I tried using a mouse juggler and that helps to keep the chat active. Otherwise once the chat becomes ‘inactive’ the monitor may not pick up the activity. But not sure if this works for non contacts ( those you don’t have a conversation with) This method with the jiggler only works for the active chats.

from whatsapp-monitor.

pleistoneun avatar pleistoneun commented on September 22, 2024

Thank you for your tipp with den MOUSE JUGGLER. Can you send me the code please.
I modified the original code for my use.
Would be very nice from you...
Best wishes...

from whatsapp-monitor.

rizwansoaib avatar rizwansoaib commented on September 22, 2024

#145

from whatsapp-monitor.

pleistoneun avatar pleistoneun commented on September 22, 2024

I am working with the Chrome Extension.
The problem is, that the value "__x_isOnline" isnt true or false; this value looks like this -> "{sentinel: 'DEFAULT VALUE PLACEHOLDER'}". So you cannot grab the value.

from whatsapp-monitor.

rizwansoaib avatar rizwansoaib commented on September 22, 2024

Once contact will be online then it will set FLAG

from whatsapp-monitor.

pleistoneun avatar pleistoneun commented on September 22, 2024

Yes, thats correct, but how can i detect if a contact is online?

from whatsapp-monitor.

rizwansoaib avatar rizwansoaib commented on September 22, 2024

serialized_object.__x_isOnline

from whatsapp-monitor.

pleistoneun avatar pleistoneun commented on September 22, 2024

Its not so simple:
......
try{
online_list=window.Store.Presence.filter(a=>a.__x_isOnline==true && a.__x_isUser==true);
offline_list=window.Store.Presence.filter(a=>a.__x_isOnline==false && a.__x_isUser==true);
.....

could you send me please the adapted code with "serialized_object.__x_isOnline".
The code above i could not use...

from whatsapp-monitor.

Stamperx avatar Stamperx commented on September 22, 2024

The mouse jiggler ( sorry i typo earlier ) that issue for windows is this : https://www.screensaversplanet.com/software/mouse-jiggler-651/

im sure there are other links for download

from whatsapp-monitor.

pleistoneun avatar pleistoneun commented on September 22, 2024

Thank you, Stamperx, for your help.
I wait for the code from RIZWAN, i hope i can adapt my code with the new one.

from whatsapp-monitor.

pleistoneun avatar pleistoneun commented on September 22, 2024

Please, can anyone help to modify the orinigal code from RIZWAN?

These lines should be adapted:
online_list=window.Store.Presence.filter(a=>a.__x_isOnline==true && a.__x_isUser==true);
offline_list=window.Store.Presence.filter(a=>a.__x_isOnline==false && a.__x_isUser==true);

with this one --> "serialized_object.__x_isOnline" (recommended from RIZWAN)

Thank you very much.

from whatsapp-monitor.

meins-rbg avatar meins-rbg commented on September 22, 2024

Please, can anyone explain it for "Litlle less knowers" what i have to do and where?
Thanks

from whatsapp-monitor.

Related Issues (20)

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.