您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
自用视频播放
当前为
// ==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 // ==/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 })();