Userscript to extract chat messages from WhatsApp Web.
Download GreaseMonkey or TamperMonkey addon for your browser. Install whatsapp-web.user.js script and log into your WhatsApp account on web.whatsapp.com
Select a chat from list and click on the dynamically added button "Save Chat" inside the chat header (top right). After auto-scrolling the chat history (just sit and wait), all messages are extracted and you can save them as PDF file.
- automatically download media files (images, videos)
- prettify chat extraction
- code refactoring