// ==UserScript== // @name 视频播放 // @namespace http://tampermonkey.net/ // @version 0.3 // @description 自用视频播放 // @author rubysiu // @match *://v.qq.com/x/* // @match *://v.youku.com/v_show/* // @match *://www.iqiyi.com/* // @match *://www.mgtv.com/* // @exclude *://www.iqiyi.com/ // @exclude *://www.mgtv.com/ // @icon https://s3.bmp.ovh/imgs/2021/12/ab22ca08387d82f2.jpg // @grant none // @license rubysiu // @downloadURL none // ==/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 += `
` } dom.innerHTML = apiListDoma })();