Skip to content

Instantly share code, notes, and snippets.

View pvsousalima's full-sized avatar
💭
(sometimes) I may be slow to respond.

Pedro Victor pvsousalima

💭
(sometimes) I may be slow to respond.
View GitHub Profile
@pvsousalima
pvsousalima / comoSerChatoNowhatsapp.js
Created October 18, 2017 13:53 — forked from callmeloureiro/comoSerChatoNoWhatsapp.js
Como fazer alguém te responder no whatsapp
var counter = 0;
var mensagens = document.getElementsByClassName("message-in");
var quantidadeMsg = mensagens.length
var i = setInterval(function(){
window.InputEvent = window.Event || window.InputEvent;
var d = new Date();
var event = new InputEvent('input', {bubbles: true});
var textbox = document.querySelector('#main > footer > div.block-compose > div.input-container > div.pluggable-input.pluggable-input-compose > div.pluggable-input-body.copyable-text.selectable-text');