您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A站下载地址,目前实现调到解析网站,实现自动填入地址
当前为
// ==UserScript== // @name A站下载视频解析下载 // @namespace wushx // @version 1.0 // @description A站下载地址,目前实现调到解析网站,实现自动填入地址 // @author wushx // @match https://www.acfun.cn/v/* // @match https://www.leesoar.com/acfun* // @requires jQuery // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; var i=0;//解析次数 var webUrl = window.location.href; var host = location.host; var html = '<button onclick="window.open('+"\'https://www.leesoar.com/acfun#parse?url="+webUrl+"\'"+')">下载视频</button>'; setTimeout(function(){ $('#player').before(html);; //可以是一句或是很多句代码,也可以是个函数 },3000); //延时10秒 if($('#input-parse')){ $('#input-parse').val(webUrl.substring(webUrl.lastIndexOf("=")+1)); alert("如果您是第一次进入,请点击一下页面的解析开始解析视频!") setTimeout(function(){ $('#aswift_1_anchor').hide(); $('.toast').hide(); $('.adsbygoogle').hide(); $('#home').remove(); $('#nav').remove(); var htmll="<div class=col-4 col-6-medium col-12-small align=center><strong>Alipay</strong><a href=#support class=image fit><img width=300px src=https://s3.bmp.ovh/imgs/2022/03/b2ffdfaa6c201e59.jpg alt=支付宝></a></div><div class=col-4 col-6-medium col-12-small align=center><strong>WeChat Pay</strong><a href=#support class=image fit><img width=300px src=https://s3.bmp.ovh/imgs/2022/03/39dc48955493a30e.png alt=微信></a></div><div class=col-4 col-6-medium col-12-small align=center><strong>PayPal</strong><a href=#support class=image fit><img src=https://www.leesoar.com/api-v1/qrcode?content=https://paypal.me/leesoar?locale.x=en_US&size=10 alt=PayPal></a></div>"; $('.aln-center').html(htmll); var html2="<b>请关注一下<font color=#8b0000 style=font-size: 5.5rem;>微信公众号 潇潇书旅</font> 点点里面任何一篇文章的末尾广告。</b>"; $('#parse').before(html2) },3000); // $('#submit').click(); } })();