一段代码去掉优酷腾讯视频右上角LOGO图标

Last updated on 15 1 月, 2023 at 12:04 下午

有时候你在看视频,上面老是有个绿绿的LOGO挡着视线,确实不爽,就写了串JS代码,下面来看看教程。

1.打开视频网站,找到你想看的电影。

2.F12打开调试工具,找到控制台:

Console

3.在下面粘贴对应的代码,回车键,搞定。

腾讯:

document.querySelectorAll(".txp_waterMark_pic").forEach(function(item,index,arr){item.style.display='none';});

优酷:

document.querySelectorAll(".spv-logo").forEach(function(item,index,arr){item.style.display='none';});

回车后右上角的LOGO图标就消失不见了。

实测该方法优酷腾讯视频都可用。

Leave a Reply

您的电子邮箱地址不会被公开。 必填项已用 * 标注