Greasy Fork

Greasy Fork is available in English.

vip 解 析 z y f

vip 解 析 z y f

当前为 2020-06-19 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         vip 解  析 z y f
// @namespace    http://tampermonkey.net/
// @version      0.16
// @description  vip 解 析 z y f
// @author       hahahaha
// @include http*://www.iqiyi.com/*
// @include http*://*.youku.com/*
// @include http*://v.qq.com/*
// @include http*://*.mgtv.com/*
// @grant        none
// @run-at document-end
// ==/UserScript==

function run(){
    var realLink=location.href;
    //alert("我是一个警告框!");
    var block;
    if(location.host==='www.iqiyi.com'){
		block=document.querySelector("#flashOutter");
            //document.querySelector('.header-link');
	}
    if(location.host==='v.youku.com'){
		block=document.querySelector("#app > div > div.play-top-container > div.l-container");
        //document.querySelector('.thesis-wrap');
    }
    if(location.host==='v.qq.com'){
		block=document.querySelector('.player_title');
	}
    if(location.host==='www.mgtv.com'){
		block=document.querySelector("#__layout > div > div:nth-child(2) > div > div > div.g-container-play > div");
	}

    var url_list=[
        ["https://api.sigujx.com/?url=&url=","goto 思古\n"],
        ["https://jx.lache.me/cc/?url=&url=","gotou 拉车\n"],
        ["https://jiexi.380k.com/?url=","goto 黑云\n"]
    ];

    var i=0;
    for (; i < url_list.length; i++) {
        var mamaLink1=document.createElement('a');
        mamaLink1.href=url_list[i][0]+realLink;
        mamaLink1.innerText=url_list[i][1]
        block.appendChild(mamaLink1);
    }
}



setTimeout(function() { run(); }, 2000);