您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Collects all URLs from DuckDuckGo search results with logging and duplicate prevention
当前为
DuckDuckGo URL Collector
A Tampermonkey/Greasemonkey script for comprehensive search result management
This userscript automatically collects all unique URLs from DuckDuckGo search results, including those hidden behind pagination ("More Results"). Features include:
Install a userscript manager:
Confirm installation in your userscript manager
urls.txt
) when complete[data-testid="result"]
)Set
object for O(1) lookupsProblem: Button not appearing
✅ Solutions:
*://duckduckgo.com/*
Problem: Partial results collection
✅ Solutions:
Problem: File not downloading
✅ Solutions:
Modify these values in the script:
// Change delay between page loads (ms)
await new Promise(resolve => setTimeout(resolve, 2000));
// Modify filename
a.download = 'urls.txt';
// Change button styling
Object.assign(btn.style, { ... });
MIT Licensed - Feel free to modify/redistribute but please: