下载更稳:优先使用 File System Access API 选择目录;不可用时自动回退到 GM_download 或浏览器下载。
细节修正:修复扫描结果状态回写、下载按钮状态恢复、扩展名过滤统一、同名去重、文件名清洗等问题。
双语界面:面板、首次协议、使用指南均支持中文 / English 切换。
保留内置打赏图:安装后无需额外配置即可直接看到内置打赏二维码。
兼容环境
ScriptCat
Tampermonkey
Violentmonkey
其他支持 JavaScript / userscript 的浏览器环境(按能力自动降级)
使用方式
安装 图片批量下载助手.js
打开任意网页
点击悬浮球打开面板
先执行图片搜寻,再按需下载单图或导出 PDF
右键悬浮球可打开隐藏 / 更换图标等菜单
Alt+T 可恢复被隐藏的悬浮球
真实页面展示
[JavaScript] 纯文本查看复制代码
appName: 'Image Download Helper',
appReady: 'Image Download Helper is ready',
guardTriggered: 'Guard hotkey triggered: floating launcher restored',
toggleTitle: 'Image Download Helper\nClick to open the panel\nDrag the launcher or panel to move it\nRight-click the launcher for more options',
rightClickHint: 'Try right-clicking me for more tools',
scanProgress: 'Scanning page images...',
scanComplete: 'Scan finished',
scanning: 'Scanning...',
scanPrompt: 'Click the button above to scan images',
scanNone: 'No matching images were found',
scanFound: 'Found {count} images',
selectAll: 'All',
previewExpand: 'Show preview',
previewCollapse: 'Hide preview',
rescan: '⌕ Scan again',
startDownload: 'Start download',
startDownloadCount: 'Start download ({count})',
processing: 'Processing...',
preparing: 'Ready to start...',
progressProcessing: 'Processing {done}/{total}',
help: 'ⓘ Help',
changeIcon: '◌ Change icon',
reset: '↺ Reset',
donatePanel: 'Support the author and view the tip QR',
panelTitle: '◈ Universal Image Finder & Downloader',
themeTitle: 'Change theme',
langTitle: 'Switch Chinese / English',
scanButton: '⌕ Scan page images',
filterTitle: '⌘ Advanced filters',
filterMinWidth: 'Minimum width (px)',
filterMinHeight: 'Minimum height (px)',
filterFormats: 'Image formats',
downloadOptions: '▣ Download options',
optionSingleTitle: '▣ Export single images',
optionSingleDesc: 'Save into a local folder with write access',
optionPdfTitle: '▤ Export a PDF in page order',
optionPdfDesc: 'Combine images into one PDF, one image per page',
maxScan: 'Maximum scan range (in page order)',
folderName: 'Folder name',
folderPlaceholder: 'Enter folder name',
themeAuto: 'System',
themeLight: 'Light',
themeDark: 'Dark',
contextIcon: '◌ Change icon (custom launcher)',
contextHideOnce: '⊖ Hide this launcher for now',
contextHideAlways: '◎ Hide permanently (Alt+T to restore)',
hiddenOnce: 'Floating launcher hidden for this page',
hiddenAlways: 'Floating launcher hidden permanently (Alt+T restores it)',
iconTooLarge: 'Icon image is too large. Keep it under 2MB',
iconUpdated: 'Floating launcher icon updated',
languageSwitched: 'Interface language switched',
openMenuCommand: '◈ Open launcher',
resetConfirm: 'Reset all settings?\n\nThis will restore:\n- launcher position and icon\n- filter rules and folder settings\n- language and theme settings\n\nThe page will reload automatically.',
agreementRejected: 'You declined the agreement. The script will stop working',
noImagesDownload: 'No downloadable images found. Please scan first',
noneSelected: 'No images selected. Please choose at least one',
downloadDone: 'Download finished: {success} succeeded',
downloadDoneWithFail: 'Download finished: {success} succeeded, {failed} failed',
downloadFallback: 'GM_download is unavailable. Falling back to browser download',
chooseFolder: 'Choose where to save the images',
chooseFolderButton: 'Choose folder',
chooseFolderOpening: 'Opening folder picker...',
cancel: 'Cancel',
cancelled: 'Download cancelled',
userCancelled: 'User cancelled the directory picker',
createSubfolderFailed: 'Subfolder creation failed. Saving into the selected folder instead',
createPdfFolderFailed: 'PDF subfolder creation failed. Saving into the selected folder instead',
fsFallback: 'File system save failed. Falling back to normal download',
fetchingImages: 'Fetching image data...',
savingPdf: 'Saving PDF...',
buildPdfPage: 'Building PDF page {page}/{total}',
noPdfImages: 'No images available for PDF export',
pdfSaved: 'PDF saved to the selected folder',
pageLoadWarn: 'Auto-loading page images ran into an issue:',
containerLoadWarn: 'Auto-loading scroll container images ran into an issue:',
scanFailed: 'Scan failed: ',
downloadFailed: 'Download failed',
loadMoreLabels: '加载更多,查看更多,更多图片,展开更多,显示更多,load more,show more,more'
}
};