您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Batch download files from a MediaFire folder with delay
MediaFire Batch Downloader is a user script that enhances your MediaFire experience by adding batch download functionality for folders and automating single file downloads. This tool is designed to save you time when downloading multiple files from MediaFire folders.
Version: 1.0
Author: Aditya Jain
License: GNU GPL v3
Github: https://gist.github.com/AadityaJain-Dev/a0f889cf0077a19c17e1ec7e3f53481b
https://www.mediafire.com/folder/
)https://www.mediafire.com/file/
)If you click "DOWNLOAD ALL" and nothing happens or you see an alert about popups being blocked:
If not all files in a large folder are being downloaded:
1500
value in the scrolling function to a higher number (e.g., 2500
)If your browser becomes unresponsive during batch downloads:
8000
value in the script to a higher numberThe script uses several JavaScript techniques to accomplish its tasks:
The script is organized into several key functions:
init()
: Entry point that determines the page typehandleFolderPage()
: Sets up the folder page enhancementhandleFilePage()
: Handles automatic download on file pagescheckPopupPermission()
: Verifies popup permissionsaddDownloadAllButton()
: Creates and adds the download buttoninitiateDownloadAll()
: Main function that performs the batch downloadscrollAndCollect()
: Progressively loads all files in the folderYou can customize the script by modifying certain values:
5000
in the file page handler to adjust how quickly tabs close after download starts (in milliseconds)8000
in the batch download function to adjust time between opening files (in milliseconds)1500
in the scrolling function to adjust how long to wait after scrolling (in milliseconds)QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址