您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Download stories (videos and images) from Facebook and Instagram.
🧩 A user script to download stories (videos & images) from Facebook and Instagram — supports both production and development modes!
👉 Install directly from GreasyFork:
🔗 https://greasyfork.org/en/scripts/507431-story-downloader-facebook-and-instagram
✔️ Features:
If you want to contribute or run this script in development mode using TypeScript, follow these steps:
✅ To use file:///
paths in development:
This is required for Tampermonkey to load the script directly from your local machine.
git clone https://github.com/oscar370/Story-Downloader---Facebook-and-Instagram.git
cd Story-Downloader---Facebook-and-Instagram
npm install
DEV_REQUIRE_PATH=file:///[your-path]/dist/script.dev.user.js
📍 Use forward slashes / even on Windows.
npm run dev
// ==UserScript==
// @name Story Downloader - Facebook and Instagram - Dev
// @namespace https://github.com/oscar370
// @version 0.0.0
// @description Download stories (videos and images) from Facebook and Instagram.
// @author oscar370
// @match *.facebook.com/*
// @match *.instagram.com/*
// @grant none
// @license GPL3
// @require file:///[your-path]/dist/script.dev.user.js
// ==/UserScript==
📍 Refresh your browser tab to reload changes after each build!
To build the optimized userscript for sharing:
npm run build
This generates:
dist/script.prod.user.js
You can upload this file to GitHub and link it on GreasyFork.
.
├── dist/
│ ├── script.dev.user.js
│ └── script.prod.user.js
├── src/
│ └── main.ts
├── .env
├── build-dev-watch.js
├── build-prod.js
├── package.json
├── tsconfig.json
└── README.md
Pull requests, issues, and suggestions are welcome! Just make sure to describe the change clearly and follow the coding style.