Greasy Fork

Instagram 下载器

在Instagram页面加入下载按钮与开启按钮,透过这些按钮可以下载或开启大头贴与贴文、限时动态、Highlight中的照片或影片

目前为 2022-05-26 提交的版本。查看 最新版本

作者
ZhiYu_
评分
0 0 0
版本
1.12
创建于
2020-07-05
更新于
2022-05-26
大小
17.8 KB
兼容性
与 Firefox 兼容 与 Chrome 兼容 与 Edge 兼容
许可证
MIT
适用于

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, media in the posts, stories, and highlights by one click.

The newer versions code only do some simple tests on Chrome. So if you have 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
  • %postId% : the post id
  • %mediaIndex% : the media index in multiple-media posts
  • %ext% : the file extension of media

Shortcut Keys (May not work in newer versions)

  • 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

Contributors

Preview

drawing
drawing
drawing

License

MIT