Instagram Download Button

Add the download button and the open button to download or open profile picture and media in the posts, stories, and highlights in Instagram

These are versions of this script where the code was updated. Show all versions.

  • v1.17.18 2024-03-10

    fix not work in hightlights page (independent hightlights page only)

  • v1.17.17 2024-01-26

    merge PRs by amcginn and immolas. Please refer to GitHub repo of this script for the details.

  • v1.17.16 2023-12-18

    fix cannot download in person story(https://www.instagram.com/stories/XXX/YYY/)

  • v1.17.15 2023-12-17

    Fix partial cannot open/download media, open wrong media issues

  • v1.17.14 2023-11-26
    • Remove unnecessary let to fix returned mediaIndex.
    • Fix buttons no show when open story from profile page.
    • Add a new method to find the post id in some story, because IG removed the post id from the url.
    • fix video handling when no canvas
    • add User-Agent in http header when downloading the resource to prevent "user agent mismatch"
  • v1.17.10 2023-10-22

    fix button no show in story

  • v1.17.9 2023-09-10

    Merged sn-o-w's small fixes

  • v1.17.8 2023-08-24

    Fix no buttons by sn-o-w.

  • v1.17.7 2023-07-23

    Fix for private accounts' posts and story buttons placement for verified accounts by sn-o-w.
    Thanks to sn-o-w!

  • v1.17.6 2023-06-30

    remove the has selector, because Firefox doesn't support it.

  • v1.17.5 2023-06-27

    fix no buttons on story

  • v1.17.4 2023-06-11

    fix the feed page no buttons issue

  • v1.17.3 2023-05-29

    Fix bugs

    • cannot find media index in independent post page
    • cannont find post id in feed page
  • v1.17.1 2023-05-16

    fix post buttons no show issue

  • v1.17.0 2023-05-16

    add hover to fetch argument (default on)

  • v1.16.2 2023-05-10

    disable prefetch

  • v1.16.1 2023-04-05

    fix media index finding issue in small window width

  • v1.16.0 2023-01-26

    Add datetime formating feature

  • v1.15.5 2023-01-19

    fix post ID finding issue

  • v1.15.3 2022-10-23

    fix hightlights video download and shortcut issue

  • v1.14.1 2022-06-14
    • Use getUrlFromInfoApi to get story media url
    • Fix the issue that can not find media id
  • v1.13.1 2022-06-11

    fix wrong post id reg pattern in findPostId()

  • v1.13 2022-06-11

    Add a new url fetching method to fix some media that cannot be downloaded.
    Please read the "About the new url fetch method" section in readme

  • v1.12 2022-05-26

    Fixed typo in naming template

  • v1.11b1 2022-05-18

    Merged Jenie's code and applied some changes

    From Jenies's code:

    • Fixed multiple-media posts issue
    • Update the file naming

    Other changes:

    • Keep old file name format and file header
    • Remove some unused code comments
    • Update readme
  • v1.10.1 2022-05-14

    update color check method

  • v1.10 2022-04-17

    Support dark mode by checking the url.

  • v1.9.7 2022-03-03

    fix failed to get video url

  • v1.9.6 2022-02-12

    fix bugs: 1) loss buttons in some pages 2) cannot download video 3) duplicated dot in filename

  • v1.9.5 2021-09-23

    fixed the bug that didn't show buttons in stories

  • v1.9.4 2021-04-01

    fixed profile buttons adding problem

  • v1.9.3 2021-03-01 fixed button don't show in the independent post page
  • v1.9.2 2021-02-21 fixed square story photo
  • v1.9.1 2021-02-15
  • v1.9.0 2021-02-14 added naming template
  • v1.8.2 2021-02-11 fixed button gone in post
  • v1.8.1 2021-01-30 fixed download wrong story picture problem
  • v1.8.0 2020-12-16 temporarily fix video download broken
  • v1.7.0 2020-12-10 added attachLink option
  • v1.6.0 2020-11-16 added shortcut keys
  • v1.5.1 2020-10-18 fixed post and profile naming error
  • v1.5.0 2020-10-10 added media URL into the new tab button element
  • v1.4.2 2020-08-04 fixed bug at handle post single media
  • v1.4.1 2020-07-18 code refactoring
  • v1.4.0 2020-07-18 add button for profile picture
  • v1.3.3 2020-07-15 fixed not find share button
  • v1.3.2 2020-07-09 code clean
  • v1.3.1 2020-07-09 fixed some bugs
  • v1.3.0 2020-07-09 changed select rule
  • v1.2.1 2020-07-06 fixed some bugs

Show all script versions