Google Drive — Folder DDL Extractor

Right-click a folder in Google Drive → "Get Direct Download Links" → save a JSON with appid + ddl for every ZIP/RAR inside

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
Mahika
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
2
Βαθμολογίες
0 0 0
Έκδοση
3.0.0
Δημιουργήθηκε την
31/03/2026
Ενημερώθηκε την
01/04/2026
Μέγεθος
20 KB
Άδεια
Μη διαθέσιμη
Εφαρμόζεται σε

Here's a clean README you can paste straight into Tampermonkey's description field, GitHub, Greasy Fork, or wherever you're publishing:

📦 Google Drive — Folder DDL Extractor
Right-click any folder in Google Drive to instantly generate Direct Download Links for every ZIP and RAR file inside it — exported as a ready-to-use JSON file.

✨ Features

Right-click context menu — a "📦 Get Direct Download Links" option is injected into Drive's native context menu when you right-click a folder
Floating button (FAB) — a persistent 📦 button in the bottom-left corner; when you're inside a folder, click it to extract links for that folder directly
Auto-pagination — handles folders with 1,000+ files automatically
No API key needed — uses your existing Google Drive browser session
JSON modal — results shown in a popup with Copy and Download buttons
Toast notifications — status messages for fetching, success, and errors


📄 Output Format
json[
{ "appid": "MyGame_v2", "ddl": "https://drive.google.com/uc?export=download&id=..." },
{ "appid": "Patch_1.1", "ddl": "https://drive.google.com/uc?export=download&id=..." }
]

appid — filename with .zip / .rar extension stripped
ddl — direct download link that bypasses Drive's preview page


🚀 How to Use

Install the script via Tampermonkey
Open Google Drive
Right-click any folder → click "📦 Get Direct Download Links"
Copy or download the generated JSON

Alternatively, navigate inside a folder and click the 📦 floating button in the bottom-left.

⚙️ Customisation
At the top of the script:
jsconst TARGET_EXTS = ['zip', 'rar']; // add '7z', 'tar', etc. as needed
const MENU_LABEL = '📦 Get Direct Download Links'; // change the menu text

🔒 Privacy
All requests go directly to Google's own servers (googleapis.com). No data is sent anywhere else. The script can only access files you already have permission to see.