您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Display the video source link for FlowPlayer elements.
当前为
// ==UserScript== // @name See Through Flow Player // @namespace http://tampermonkey.net/ // @version 0.1.1 // @description Display the video source link for FlowPlayer elements. // @author firetree // @match *://*/* // @icon none // @grant GM_registerMenuCommand // @grant GM_getValue // @grant GM_setValue // @license WTFPL // ==/UserScript== (function() { 'use strict'; if (!GM_getValue('placeholder')) { GM_setValue('placeholder','true') } function inject() { document.querySelectorAll(".fp-player").forEach(el => { if (el.classList.contains("see-through-fplayer")) return let links = document.createElement("div") JSON.parse(el.parentElement.dataset.item).sources.forEach(src => { let link = document.createElement("a") link.href = src.src link.textContent = `${src.src} type: ${src.type}` links.append(link) }) el.after(links) el.classList.add("see-through-fplayer") }) } GM_registerMenuCommand('手动激活脚本功能', inject) //注册(不可用)菜单命令 if (GM_getValue('placeholder') == 'true') { setTimeout(() => inject()) } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址