Created
May 20, 2017 21:24
-
-
Save sepehrmm/cf851a2e66212e1cd82ce6783c04c54c to your computer and use it in GitHub Desktop.
Read WhatsApp Web messages without opening to stop blue ticks appearing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chatHistory = Store.Chat.models.filter(function(a) { | |
if (a.name == "PUT YOUR CONTACT'S NAME HERE.") { | |
return true | |
} | |
})[0].msgs.models; | |
for (i = chatHistory.length - 1; i >= 0; i--) { | |
console.log(chatHistory[i].attributes.body); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
doesn't work anymore, needs to be updated.