VIP会员视频解析

解析并自动跳转各大视频网站会员视频(傻瓜版)

< Feedback on VIP会员视频解析

Değerlendirme: İyi - script çalışıyor

hoothinMod
§
Gönderildi: 12.01.2017
Düzenlendi: 15.02.2017

显摆下

var cracks=[ {name:"无名小站",url:"http://www.wmxz.wang/video.php?url=%s"}, {name:"47影视云",url:"http://api.47ks.com/webcloud/?v=%s"}, {name:"71靠椅",url:"http://jx.71ki.com/index.php?url=%s"}, {name:"爱看影院",url:"http://www.521804.com/www/jiexi.php?url=%s"} ]; var select=document.createElement("select"); select.style.cssText="position:absolute;z-index:999999;"; select.innerHTML="<option>vip视频解析</option>"; cracks.forEach(function(item){ var optionStr="<option value='"+item.url+"'>"+item.name+"</option>"; select.innerHTML+=optionStr; }); select.onchange=function(){window.location.href=select.options[select.options.selectedIndex].value.replace("%s",location.href);}; var video=document.querySelector("object"); if(video){ video.parentNode.appendChild(select); } 嵌入原页面应该是做不到的,https里面嵌不了http资源,除非用自己的服务器转发

§
Gönderildi: 12.01.2017

var cracks=[
        {name:"无名小站",url:"http://www.wmxz.wang/video.php?url=%s"},
        {name:"47影视云",url:"http://api.47ks.com/webcloud/?v=%s"},
        {name:"71靠椅",url:"http://jx.71ki.com/index.php?url=%s"},
        {name:"爱看影院",url:"http://www.521804.com/www/jiexi.php?url=%s"}
    ];
    var select=document.createElement("select");
    select.style.cssText="position:absolute;z-index:999999;";
    select.innerHTML="<option>vip视频解析</option>";
    cracks.forEach(function(item){
        var optionStr="<option value='"+item.url+"'>"+item.name+"</option>";
        select.innerHTML+=optionStr;
    });
    select.onchange=function(){window.location.href=select.options[select.options.selectedIndex].value.replace("%s",location.href);};
    var video=document.querySelector("object");
    if(video){
        video.parentNode.appendChild(select);
    }


嵌入原页面应该是做不到的,https里面嵌不了http资源,除非用自己的服务器转发

你试试iframe

hoothinMod
§
Gönderildi: 12.01.2017
Düzenlendi: 12.01.2017
你试试iframe

。。。“你试试iframe”啥意思?我不是说不会嵌,是不能嵌啊( ╯□╰ ),要嵌必须用自己服务器转发获得https资源才能用iframe

hoothinMod
§
Gönderildi: 12.01.2017
Düzenlendi: 12.01.2017

另外@include 是不支持部分匹配的

§
Gönderildi: 12.01.2017

另外@include 是不支持部分匹配的

JS我是小白~

hoothinMod
§
Gönderildi: 12.01.2017
Düzenlendi: 14.01.2017
// ==UserScript==
// @name         会员视频解析
// @namespace    http://QQ.COM
// @version      0.231
// @description  try to DESTrOY the world!
// @author       张由之
// @include       *://v.qq.com/x/cover/*
// @include       *://*.mgtv.com/b/*
// @include       *://*.le.com/ptv/vplay/*
// @include       *://v.youku.com/v_show/*
// @include       *://*.iqiyi.com/v_*
// @include       *://*.tudou.com/albumplay/*
// @include       *://*.wasu.cn/Play/show/id/*
// @include       *://tv.sohu.com/20*
// @include       *://film.sohu.com/album/*
// @include       *://ddp.vip.pptv.com/vod_detail/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var cracks=[
        {name:"无名小站",url:"http://www.wmxz.wang/video.php?url=%s"},
        {name:"47影视云",url:"http://api.47ks.com/webcloud/?v=%s"},
        {name:"71靠椅",url:"http://jx.71ki.com/index.php?url=%s"},
        {name:"爱看影院",url:"http://www.521804.com/www/jiexi.php?url=%s"}
    ];
    var select=document.createElement("select");
    select.style.cssText="position:absolute;z-index:999999;";
    select.innerHTML="<option>vip视频解析</option>";
    cracks.forEach(function(item){
        var optionStr="<option value='"+item.url+"'>"+item.name+"</option>";
        select.innerHTML+=optionStr;
    });
    select.onchange=function(){window.location.href=select.options[select.options.selectedIndex].value.replace("%s",location.href);};
    var video=document.querySelector("object");
    if(video){
        video.parentNode.appendChild(select);
    }
})();

这是完整的,拿去换上吧

hoothinMod
§
Gönderildi: 12.01.2017

另外这服务器是你自己的吗?是的话改成https倒是就可以嵌入替换了

§
Gönderildi: 14.01.2017

另外这服务器是你自己的吗?是的话改成https倒是就可以嵌入替换了

我看看~

hoothinMod
§
Gönderildi: 14.01.2017
Düzenlendi: 15.01.2017

你这实在是。。。我给了你代码你倒是换上啊,怎么光改名字和加赞助啊?现在你这脚本就只是个跳转一点价值都没有,还不如手动复制地址,而且include不支持部分匹配导致了甚至是你这个简单的跳转脚本在QQ、优酷、搜狐、pptv都是无效的

hoothinMod
§
Gönderildi: 15.01.2017

我还是自己提交个脚本吧

§
Gönderildi: 15.01.2017

我还是自己提交个脚本吧

之前用的是match

Cevap paylaş

Yanıt göndermek için oturum açın.