Skip to content

Add download button to download media in the post and the story in Instagram

License

Notifications You must be signed in to change notification settings

JamesTheMartian/Instagram_Download_Button

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Download Button

Github, Greasy Fork, OpenUserJS

This repository is a JavaScript for Greasemonkey/Tampermonkey. This script will add a download button and open button to your Instagram and you can download or open profile pictures and media in the posts, stories, and highlights by one click.

If any problem, please feel free to contact me in English or Chinese and attach your runtime environment.

Note: This script only tests on Chrome, Edge, and Firefox with Tampermonkey on Windows 10 1903 64-bit.

Options

This script can be configured by modifying the following constant variables in the head of this script.

  • attachLink : boolean, attach the link into the button elements if true
  • postFilenameTemplate : string, naming rule for media downloading in the post
  • storyFilenameTemplate : string, naming rule for media downloading in the story

Naming Template

  • %id% : the poster id
  • %datetime% : the media upload time
  • %medianame% : the original media file name
  • %ext% : the file extension of media

Shortcut Keys

  • Alt + i : Open the media in the new tab
  • Alt + k : Download the media
  • Alt + j : Next media in the multiple media post
  • Alt + l : Previous media in the multiple media post

The shortcut keys do not work on the Instagram main page currently

drawing


drawing


drawing

License

MIT

About

Add download button to download media in the post and the story in Instagram

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%