您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Finds and displays all download links, and allows copying them to clipboard
This Tampermonkey script scans web pages in real time, finding all download links (based on <a>
tags with the download
attribute). It then lists the found URLs in a small, floating window on the page and provides a button to copy all of these URLs to the clipboard at once.
https://making-new-thing-testing-pushing-huginface-yl-dl-1.hf.space/
. You can modify this to match the domain where your instance of "MeTube" or another service is hosted (see Customization below).To make this script work on your own site, you'll need to modify a couple of things:
Domain Matching: Edit the @match
directive in the script to match your own domain. For example:
// @match https://your-metube-instance.com/*
This will allow the script to run only on your site.
Appearance Adjustments: The appearance of the floating window and button can be customized through the CSS properties in the script. You can adjust things like window size, button colors, or font styling to match the look of your site.
querySelectorAll
method to scan for <a>
tags with a download
attribute, extracting the href
value to build full URLs.To use this script on your own instance of "MeTube" or another site, simply modify the @match
rule to include the domain where your site is hosted.
For example, if your instance is hosted at https://my-metube-instance.com/
, update the @match
like this:
@match https://my-metube-instance.com/*
This will ensure the script only runs on pages from your own site.