🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

全网视频去水印-VIP视频解析

本脚本支持去除 腾讯视频 爱奇艺 优酷 西瓜 PPTV 视频平台的非内嵌水印,并且支持解析视频网站VIP蓝光视频

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

// ==UserScript==
// @name         全网视频去水印-VIP视频解析
// @namespace    http://tampermonkey.net/
// @version      0.5.2
// @description  本脚本支持去除 腾讯视频 爱奇艺 优酷 西瓜 PPTV 视频平台的非内嵌水印,并且支持解析视频网站VIP蓝光视频
// @author       晚枫QQ237832960
// @license      Creative Commons
// @match        https://v.qq.com/*
// @match        https://v.youku.com/*
// @match        https://www.iqiyi.com/*
// @match        https://www.bilibili.com/*
// @match        https://www.ixigua.com/*
// @match        http://v.pptv.com/*
// @match        https://www.mgtv.com/*
// @match        https://svip.bljiex.cc/*
// @grant        授权非商业使用,未经允许,禁止复制粘贴相关源码
// ==/UserScript==

(function() {
    'use strict';

    // z-index:1 防止全屏下显示按钮,

    var div = document.createElement("a")
    div.innerHTML = "点击解析视频"
    div.style.cssText="color: white;\n" +
        "    text-decoration: none;\n" +
        "    width: 150px;\n" +
        "    height: 40px;\n" +
        "    line-height: 40px;\n" +
        "    text-align: center;\n" +
        "    background: transparent;\n" +
        "    border: 1px solid #d2691e;\n" +
        "    font-family: Microsoft soft;\n" +
        "    border-radius: 3px;\n" +
        "    color:#ff7f50;\n" +
        "    position: fixed;\n" +
        "    top: 50%;\n" +
        "    z-index:999;\n" +
        "    left: 0px;\n" +
        "    cursor: pointer;"
    div.setAttribute("href","https://svip.bljiex.cc/?v="+location.href,"target","_blank")
    div.setAttribute("target","_blank")
    document.body.appendChild(div)
    var url = location.href;


    var check = setInterval(function () {
        var ele = document.getElementsByClassName("txp_waterMark_pic")[0]
        if (ele != null){
            console.log("TX       :"+ ele)
            console.log(ele)
            ele.remove()
            return
        }
        ele =document.getElementsByClassName("kui-watermark-logo-layer")[0]
        if (ele != null){
            console.log("YK       :"+ ele)
            console.log(ele)
            ele.remove()
            return
        }
        ele =document.getElementsByClassName("iqp-logo-box")[0]
        if (ele != null){
            console.log("IQ       :"+ ele)
            console.log(ele)
            ele.remove()
            return
        }
        ele =document.getElementsByClassName("common-xgplayer__Logo")[0]
        if (ele != null){
            console.log("XG       :"+ ele)
            console.log(ele)
            ele.remove()
            return
        }
        ele =document.getElementById("p-mark")
        if (ele != null){
            console.log("PP       :"+ ele)
            console.log(ele)
            ele.remove()
            return
        }

        ele =document.getElementsByClassName("el-button el-button--primary")[0]
        if (ele != null){
            div.remove()
            console.log(ele)
            var input = document.getElementById("url")
            input.value = url.substring('https://svip.bljiex.cc/?v='.length,url.length)
            return
        }

    },1000)

    })();