A piece of code to remove the LOGO icon in the upper right corner of Youku Tencent video

Sometimes you are watching a video, there is always a green logo blocking the view, it is really uncomfortable, I wrote a string of JS code, let's take a look at the tutorial.
1. Open the video website and find the movie you want to watch.

Insert picture description here
2. F12 open the debugging tool, find the console: Console
3. Paste the corresponding code below, press the Enter key to get it.
Tencent:

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

Youku:

document.querySelectorAll (". spv-logo"). forEach (function (item, index, arr) {item.style.display = 'none';});
Insert picture description here
The LOGO icon in the upper right corner disappears after you press Enter.
Actually tested this method Youku Tencent video is available.
Insert picture description here
Go more

Published 22 original articles · Like 13 · Visitors 10,000+

Guess you like

Origin blog.csdn.net/huayula/article/details/94289877