视频播放

自用视频播放

目前為 2022-07-26 提交的版本,檢視 最新版本

// ==UserScript==
// @name        视频播放
// @namespace    http://tampermonkey.net/
// @version      0.5
// @description  自用视频播放
// @author       rubysiu
// @match        *://*.qq.com/x/*
// @match        *://*.youku.com/v_show/*
// @match        *://*.iqiyi.com/*
// @match        *://*.mgtv.com/*
// @exclude      *://*.iqiyi.com/
// @exclude      *://*.mgtv.com/
// @icon         https://s3.bmp.ovh/imgs/2021/12/ab22ca08387d82f2.jpg
// @grant        none
// @license      rubysiu
// ==/UserScript==

(function() {
    'use strict';
    // Your code here...
     let videoUrl = location.href;
    let dom = document.createElement("ruby");
    let apiList = [{"name":"解析啦","url":"https://api.jiexi.la/?url="},{"name":"OK解析","url":"https://okjx.cc/?url="}]
    dom.style.background = "rgb(84 220 140 / 100%)";
    dom.style.position = "fixed";
    dom.style.padding = "5px";
    dom.style.color = "#fff";
    dom.style.top = "50%";
    dom.style.zIndex = "9999";
    dom.style.borderRadius = "0 5px 5px 0";
    document.body.appendChild(dom);
    let apiListDoma = "";
    for (const key in apiList) {
        apiListDoma += `<div style="padding:4px;font-weight: bold;"><a target="_blank" href="`+apiList[key].url+videoUrl+`" >`+apiList[key].name+`</a></div>`
        }
    dom.innerHTML = apiListDoma
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址