vip 解 析 z y f

vip 解 析 z y f

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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);