爱奇艺,优酷,腾讯视频 简洁画面,logo水印移除

删除元素,logo,达到极简效果

目前为 2020-06-08 提交的版本。查看 最新版本

// ==UserScript==
// @name         爱奇艺,优酷,腾讯视频 简洁画面,logo水印移除
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  删除元素,logo,达到极简效果
// @author       Xian
// @match        https://www.iqiyi.com/*.html
// @match        https://v.qq.com/x/cover/*.html
// @match        https://v.youku.com/v_show/*.html
// @grant        none
// ==/UserScript==

//  'use strict';

setInterval(function(){
    try{
        var aqy_body = document.getElementsByTagName('body')[0];
        aqy_body.style.height = '2000px';
        aqy_body.style.backgroundColor = '#292929';
        aqy_body.style.overflow = 'hidden';
    }catch(e){}
    //头部
    try{
       // var aqy_a = document.getElementsByClassName('header-wrap')[0];
       // aqy_a.parentNode.style.backgroundColor = '#292929';
       // aqy_a.remove();
    }catch(e){}
    //花絮
    try{
        //document.getElementById('widget-movie-newtidbits').remove();
    }catch(e){}
    try{
       // document.getElementById('widget-movie-superseries').remove();
    }catch(e){}


    try{
        document.getElementsByClassName('qy-player-side-vip')[0].remove();
    }catch(e){}
    try{
        document.getElementById('block-V').remove();
    }catch(e){}
    try{
        document.getElementsByClassName('detail-sd')[0].remove();
    }catch(e){}
    try{
        document.getElementById('titleRow').remove();
    }catch(e){}
    try{
        document.getElementById('contentArea').remove();
    }catch(e){}
    try{
        document.getElementById('block-AR').remove();
    }catch(e){}
    //暂停广告
    try{
        document.getElementsByClassName('cupid-pause-close')[0].parentNode.remove();
    }catch(e){}
    try{
        document.getElementsByClassName('h5-ext-layer')[0].childNodes[1].remove();
    }catch(e){}
    try{
        document.getElementsByClassName('txp_ad txp_ad_center')[0].remove();
    }catch(e){}
    //水印logo
    try{
        document.getElementsByClassName('iqp-logo-top')[0].remove();
    }catch(e){}
    try{
        document.getElementsByClassName('logo-new')[0].remove();
    }catch(e){}

    //腾讯视频添加的脚本
    try{
        document.getElementsByClassName('txp_waterMark_pic')[0].remove();
    }catch(e){}
    try{
        document.getElementById('_vip_player_sec').remove();
    }catch(e){}
    try{
        document.getElementById('_vip_player_sec').remove();
    }catch(e){}
    try{
        document.getElementsByClassName('mod_ad')[0].remove();
    }catch(e){}
    try{
        document.getElementById('shortcut').remove();
    }catch(e){}
    try{
        document.getElementsByClassName('video_info_wrap')[0].remove();
    }catch(e){}
    try{
        document.getElementsByClassName('player_headline')[0].style.height = '2000px';
    }catch(e){}

    //优酷添加的脚本
    try{
        document.getElementsByClassName('qr-wrap')[0].remove();
    }catch(e){}
    try{
        document.getElementById('right-title-ad-banner').remove();
    }catch(e){}
    try{
        document.getElementsByClassName('u-vip_3-BwE')[0].remove();
    }catch(e){}
},2000);

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址