// ==UserScript== // @name VIP视频CCAV5解析 // @version 1.0.18.0608 // @description 一键免费观看[优酷|腾讯|乐视|爱奇艺|芒果|M1905|AB站]等站VIP影视,提供10多组无广告接口,欢迎体验。 // @author CCAV5 // @homepage https://ccav5.ml/ // @icon https://ccav5.ml/favicon.ico // @namespace https://greasyfork.org/users/189233 // @license MIT // @noframes // @match *://*.iqiyi.com/* // @match *://*.youku.com/* // @match *://*.le.com/* // @match *://*.letv.com/* // @match *://v.qq.com/* // @match *://film.qq.com/* // @match *://*.tudou.com/* // @match *://*.mgtv.com/* // @match *://film.sohu.com/* // @match *://tv.sohu.com/* // @match *://*.acfun.cn/v/* // @match *://*.bilibili.com/* // @match *://vip.1905.com/play/* // @match *://*.pptv.com/* // @match *://v.yinyuetai.com/video/* // @match *://v.yinyuetai.com/playlist/* // @match *://*.fun.tv/vplay/* // @match *://*.wasu.cn/Play/show/* // @match *://*.56.com/* // @exclude *://*.bilibili.com/blackboard/* // @downloadURL none // ==/UserScript== (() => { 'use strict'; const CCAV5Icon = ''; var tMscript = document.createElement('script'); tMscript.innerText = `q = function(cssSelector){return document.querySelector(cssSelector);};qa = function(cssSelector){return document.querySelectorAll(cssSelector);};`; document.head.appendChild(tMscript); window.q = function(cssSelector) {return document.querySelector(cssSelector);}; window.qa = function(cssSelector) {return document.querySelectorAll(cssSelector);}; /* 兼容 Tampermonkey | Violentmonkey | Greasymonkey 4.0+ */ function GMaddStyle(cssText){ let a = document.createElement('style'); a.textContent = cssText; let doc = document.head || document.documentElement; doc.appendChild(a); } GMaddStyle(` #CCAV5{position:fixed;background-color:#debb50;top:7em;left:0;padding:0;z-index:999999;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:15px;} #CCAV5 li{list-style:none;height:8em;} #CCAV5 svg{float:right;} .AV5{opacity:0.3;position:relative;padding:1.2em .4em;width:1.2em;cursor:pointer;} .AV5:hover{opacity:1;} .AV5:hover{display:block;} `); var ccav5api = { title: "免费看VIP视频就用CCAV5解析", url: "http://ccav5.ml/index.html?url=", name:CCAV5Icon+"免费观看" }; /* 执行 */ var div = document.createElement("div"); div.id = "CCAV5Play"; var txt = '', i = 0; div.innerHTML = `