Downloads Instagram™ direct messages
An extension for downloading Instagram direct messages in HTML or ZIP format for reading them offline.
Not tested on big chats.
This is a paid extension, you will need to buy a license key to use it.
The payment is proceeded through the Gumroad platform, you can read about the safety of buying here https://customers.gumroad.com/article/189-safe-gumroad-buying
v.18.104.22.168 - moved to manifest 3
v.22.214.171.124 - added a "selectable" style to messages
v.126.96.36.199 - added a css style to better display huge images
v.188.8.131.52 - fixed a bug with displaying media when saving as HTML (due to the latest Instagram CORS changes they were not displayed properly)
v.184.108.40.206 - fixed a small bug with media for voice messages being undefined.
v.220.127.116.11 - added the 'random timeout' option, to download big chats without the user being locked out from their account
v.18.104.22.168 - a fix with downloading group chats which users left. (downloadChat function in dm.js, oldest_cursor is undefined in such chats, have to use prev_cursor)
v.22.214.171.124 - a small fix with downloading the last message in a chat (downloadChat function in dm.js)
v.126.96.36.199 - removed GUMROAD from the title of the description, changed the type of the extension to "using another payment system"
v.188.8.131.52 - changed the payment system to Gumroad, more information here https://customers.gumroad.com/article/189-safe-gumroad-buying
v.184.108.40.206 - fixed the multiple event bindings to buttons, that caused duplication of chats in the inbox display
v.220.127.116.11 - changed the way of loading all chats to manual; added downloading 'disappearing' media
v.18.104.22.168 - fixed downloading voice messages by adding https://*.cdninstagram.com/ to permissions in the manifest; when downloading as ZIP, made shared media/stories/user profile pictures included in the archive
v.22.214.171.124 - CUR_CHAT_URL changed according to the new Instagram API
v.126.96.36.199 - Instagram has changed its API inbox URL, therefore the extension stopped working properly. Changed ALL_CHATS_URL to the new one.
v.188.8.131.52 - Fixed a bug with the extension hanging when a story is gone and reel_share.media.image_versions2 is undefined
v.184.108.40.206 - Fixed a bug with not displaying replies to stories in the 'form_outer_msg' and 'form_inner_msg' functions
v.220.127.116.11 - Fixed a bug with the missing last_msg (in the fill_inbox_html function)
v.18.104.22.168 - Fixed a bug with not all threads being loaded from the inbox (only the first 20 were loaded). Function 'fetch_inbox_messages'
v.22.214.171.124 - Fixed a bug with undefined 'carousel_media' in the 'form_outer_msg' and 'form_inner_msg' functions
v 126.96.36.199 - The previous bug was not fixed properly, had to fix it again
v 188.8.131.52 - Fixed a bug with undefined 'user' in the 'form_outer_msg' and 'form_inner_msg' functions
v 184.108.40.206 - Added possibility to download chats as ZIP archives. ZIP archives will include image and video files. Please mind that due to CORS restrictions voice messages cannot be downloaded, so these files won't play.
v 220.127.116.11 - Fixed a bug with missing 'profile_pic_url' in the fill_inbox_html function
v 18.104.22.168 - Fixed a bug in downloading shared media, added cases 'shared media' and 'link' to the form_inner_msg function
v 22.214.171.124 - Fixed downloading shared media files