您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This script adds a download button to the powerwatch.pw page.
当前为
// ==UserScript== // @name Powerwatch Download Button // @namespace PWDB // @author MegaByte // @description This script adds a download button to the powerwatch.pw page. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js // @run-at document-end // @noframes // @include http*://*powerwatch.pw/* // @version 1.0 // ==/UserScript== var player = $("#vplayer"); if(player.length != 0) { $(body).find("script").each(function() { var patt = new RegExp("file:\\s?\"https?:\\/\\/.+?\\.mp4\""); console.log(patt); var res = patt.exec($(this).html()); console.log(res); if(res !== null) { var url = res[0].substring(7, res[0].length-1); addButton(url); } }); } function addButton(url) { $("h5.h4-fine").append("<li><a href='" + url + "' download target='_blank'>Download</a></li>") }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址