lundi 13 août 2018

Save name and number of unknown people from Whatsapp Web [Javascript]

I created one extension for Chrome that enable a Button in Whatsapp Web that, after click in some chatbox, the "zap.js" copy name + number from selected contact details.

https://github.com/defremont/zapbot

That because i need to save in google contacts, a big amount of unkown contacts that send me some text and previously, SAVE MY NUMBER ON YOUR CONTACTS.

To fully automatize this i use "Mouse and Keyboard Recorder" to click in first contact and paste the information in sone sheet.

https://github.com/LoranKloeze/WhatsAllApp

my program works this way currently because I could not create any function that clicks on the first contact in the list.

I've seen extensions that creates something like a unknown contact store (WLAPStore).. however I did not understand how it was done. https://github.com/LoranKloeze/WhatsAllApp/blob/master/ui.js

The question is: Is there a way to click on the contact automatically? I have already tried querySelector with onClick and others similar. Anything.

Thank you

  • Button activated

  • Information auto copied

  • Information manually pasted in google contacts sheet



Aucun commentaire:

Enregistrer un commentaire