Greasy Fork is available in English.

VIP视频破解

解析并破解各大视频站的VIP权限

Fra 12.03.2017. Se den seneste versjonen.

// ==UserScript==
// @name         VIP视频破解
// @name:en      VIP Video Cracker
// @namespace    hoothin
// @version      1.3.3
// @description  解析并破解各大视频站的VIP权限
// @description:en  Crack VIP permissions of some chinese video sites
// @author       hoothin
// @include       *://v.qq.com/x/*
// @include       *://*.mgtv.com/b/*
// @include       *://*.le.com/ptv/vplay/*
// @include       *://v.youku.com/v_show/*
// @include       *://*.iqiyi.com/v_*
// @include       *://*.iqiyi.com/dianying/*
// @include       *://*.tudou.com/albumplay/*
// @include       *://*.tudou.com/listplay/*
// @include       *://*.tudou.com/programs/view/*
// @include       *://*.wasu.cn/Play/show/id/*
// @include       *://tv.sohu.com/*
// @include       *://film.sohu.com/album/*
// @include       *://ddp.vip.pptv.com/vod_detail/*
// @include       *://*.pptv.com/show/*
// @include       *://www.acfun.cn/v/*
// @include       *://*.fun.tv/vplay/*
// @include       *://vip.1905.com/play/*
// @include       *://vip.pptv.com/show/*
// @include       *://v.yinyuetai.com/video/*
// @include       *://v.yinyuetai.com/playlist/*
// @include       *://www.bilibili.com/video/*
// @exclude       *?url=*
// @exclude       *?qt=*
// @exclude       *?v=*
// @grant         GM_setValue
// @grant         GM_getValue
// @license       MIT License
// ==/UserScript==

(function() {
    'use strict';
    var cracks=[
        {name:"47影视云",url:"http://api.47ks.com/webcloud/?v=%s"},
        {name:"疯狂解析",url:"http://vip.ifkdy.com/?url=%s"},
        {name:"无名小站1",url:"http://www.wmxz.wang/video.php?url=%s"},
        {name:"无名小站2",url:"http://www.sfsft.com/admin.php?url=%s"},
        {name:"71ki解析",url:"http://jx.71ki.com/tong.php?url=%s"},
        {name:"VIP看看",url:"http://2.jx.72du.com/video.php?url=%s"},
        {name:"歪歪电影",url:"http://www.yydy8.com/common/?url=%s"},
        {name:"10号影院",url:"http://player.gakui.top/?url=%s"},
        {name:"Relon",url:"http://yyygwz.com/index.php?url=%s"},
        {name:"爱看TV",url:"http://aikan-tv.com/tong.php?url=%s"},
        {name:"迷失之梦",url:"http://mt2t.com/yun?url=%s"},
        {name:"SO视频",url:"http://parse.colaparse.cc/jx1.php?url=%s"},
        {name:"Moondown",url:"http://moon.moondown.net/tong.php?url=%s"},
        {name:"选片网",url:"http://jx.xuanpianwang.com/parse?url=%s"},
        {name:"云上",url:"http://www.ou522.cn/t2/1.php?url=%s"},
        {name:"小海解析",url:"http://jx.ck921.com/?url=%s"},
        {name:"强强卷",url:"http://000o.cc/jx/ty.php?url==%s"},
        {name:"Lewei369",url:"http://s1y2.com/?url=%s"},
        {name:"紫狐云",url:"http://yun.zihu.tv/play.html?url=%s"},
        {name:"眼睛会下雨",url:"http://www.vipjiexi.com/yun.php?url=%s"},
        {name:"土豪网",url:"http://www.tuhao13.com/yunparse/index.php?url=%s"},
        {name:"舞动秋天",url:"http://qtzr.net/s/?qt=%s"},
        {name:"CloudParse",url:"http://api.cloudparse.com/?url=%s"}
    ];
    var selectStyle=document.createElement("style");
    selectStyle.innerHTML="#vipSelect{position:absolute;z-index:999999;left:0px;top:0px;opacity:0.50;filter:alpha(opacity=50);background:black;color:white;transition:opacity 0.3s ease;}#vipSelect:hover{opacity:1;filter:alpha(opacity=100);}";
    document.getElementsByTagName("head")[0].appendChild(selectStyle);
    var select=document.createElement("select");
    select.id="vipSelect";
    select.innerHTML="<option value=''>VIP视频解析</option>";
    if(!GM_getValue("hacgGodTurnVisited")){
        select.innerHTML+="<option value='https://sleazyfork.org/scripts/23316'>\u2605\u0020\u8001\u53f8\u673a\u811a\u672c\u0020\u2605</option>";
    }
    cracks.forEach(function(item){
        var optionStr="<option value='"+item.url+"'>"+item.name+"</option>";
        select.innerHTML+=optionStr;
    });
    select.onchange=function(){
        var value=select.options[select.options.selectedIndex].value;
        if(value){
            window.open(value.replace("%s",location.href));
            if(value=="https://sleazyfork.org/scripts/23316"){
                GM_setValue("hacgGodTurnVisited",true);
                select.options.remove(select.options.selectedIndex);
            }
            select.options.selectedIndex=0;
        }
    };
    setTimeout(function(){
        var video;
        [].every.call(document.querySelectorAll("object,embed"),function(item){
            var style=getComputedStyle(item, null);
            if(style.width.replace("px","")>100 && style.height.replace("px","")>100){
                video=item;
                return false;
            }
            return true;
        });
        if(video){
            video.parentNode.appendChild(select);
        }else{
            console.log("no player!");
        }
    },1000);
})();