Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解
已解决 已存档

Youtube intentionally adding some lines to their videos

Dalius Kalvaitis 已回复
Dalius Kalvaitis

Today I've noticed some horizontal lines on youtube videos. Upon further investigation, I've traced it to a single div element:

The base64 encoded image is the lines I'm seeing.

Initially after starting a new private session and navigating straight to youtube.com I had no lines. Then in that private session same element doesn't have an image:

What's odd about this is if I opened a private window and copy pasted the same video URL I would get the lines. After testing multiple times I started getting the lines even after navigating straight to youtube.com.

So I did another test: changed my IP with a VPN in a private session. Navigated straight to youtube.com, watched multiple videos without any lines. Then I logged in to my account and boom, the lines are back...

Opening the same video on google chrome browser I get a smooth gradient line image:

The browser is functioning as intended, but youtube is intentionally making their website unusable. What the f###? I have youtube premium, adblocker disabled on their website.

Today I've noticed some horizontal lines on youtube videos. Upon further investigation, I've traced it to a single div element: <div class="ytp-gradient-bottom" style="height: 296px; background-image: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAEoCAYAAACZwZvDAAAAQklEQVQ4T2Ow67zNyeC6YGM/Q+EkM0cG0a23CxgyjyjXMbTXLD7BUHZK8R7D8Z83axlG1Y2Gy2g6GM0fo+XBoCwnAS2Ics8DLkccAAAAAElFTkSuQmCC&quot;);" data-layer="9"></div> The base64 encoded image is the lines I'm seeing. Initially after starting a new private session and navigating straight to youtube.com I had no lines. Then in that private session same element doesn't have an image: <div class="ytp-gradient-bottom" data-layer="9" style=""></div> What's odd about this is if I opened a private window and copy pasted the same video URL I would get the lines. After testing multiple times I started getting the lines even after navigating straight to youtube.com. So I did another test: changed my IP with a VPN in a private session. Navigated straight to youtube.com, watched multiple videos without any lines. Then I logged in to my account and boom, the lines are back... Opening the same video on google chrome browser I get a smooth gradient line image: <div class="ytp-gradient-bottom" data-layer="9" style="height: 194px; background-image: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADCCAYAAACIaaiTAAAAAXNSR0IArs4c6QAAARJJREFUOE9lyNdHBQAAhfHb3nvvuu2997jNe29TJJEkkkgSSSSJJJJEEkkiifRH5jsP56Xz8PM5gcC/xfCIWBNHiXiTQIlEk0SJZJNCiVRIM+mUyDCZlMgy2ZTIMbmUyDP5lCgwhZQoMsWUKDGllCgz5ZSogEpTRYlqU0OJoKmlRJ2pp0SDaaREk2mmRItppUSbaadEh+mkRBd0mx5K9Jo+SvSbAUoMmiFKDJsRSoyaMUqMmwlKhMwkJabMNCVmYNbMUSJsIpSImnlKLJhFSiyZZWoFVmEN1mEDNmELtmEHdmEP9uEADuEIjuEETuEMzuECLuEKruEGbuEO7uEBHuEJnuEFXuEN3uEDPuELvuEHfv8AoRErEi7Uc8UAAAAASUVORK5CYII=&quot;);"></div> The browser is functioning as intended, but youtube is intentionally making their website unusable. What the f###? I have youtube premium, adblocker disabled on their website.
已附加屏幕截图

所有回复 (3)

It seems this website stripped all the HTML code I've posted... Not sure how to post it here


Base64 image for the lines I'm seeing: iVBORw0KGgoAAAANSUhEUgAAAAEAAAEoCAYAAACZwZvDAAAAQklEQVQ4T2Ow67zNyeC6YGM/Q+EkM0cG0a23CxgyjyjXMbTXLD7BUHZK8R7D8Z83axlG1Y2Gy2g6GM0fo+XBoCwnAS2Ics8DLkccAAAAAElFTkSuQmCC

Base64 image on google chrome: iVBORw0KGgoAAAANSUhEUgAAAAEAAADCCAYAAACIaaiTAAAAAXNSR0IArs4c6QAAARJJREFUOE9lyNdHBQAAhfHb3nvvuu2997jNe29TJJEkkkgSSSSJJJJEEkkiifRH5jsP56Xz8PM5gcC/xfCIWBNHiXiTQIlEk0SJZJNCiVRIM+mUyDCZlMgy2ZTIMbmUyDP5lCgwhZQoMsWUKDGllCgz5ZSogEpTRYlqU0OJoKmlRJ2pp0SDaaREk2mmRItppUSbaadEh+mkRBd0mx5K9Jo+SvSbAUoMmiFKDJsRSoyaMUqMmwlKhMwkJabMNCVmYNbMUSJsIpSImnlKLJhFSiyZZWoFVmEN1mEDNmELtmEHdmEP9uEADuEIjuEETuEMzuECLuEKruEGbuEO7uEBHuEJnuEFXuEN3uEDPuELvuEHfv8AoRErEi7Uc8UAAAAASUVORK5CYII=

由Dalius Kalvaitis于修改

选择的解决方案

As you know, they're doing it on purpose, adding this filter to ublock origin fixes it for me:

www.youtube.com/##.ytp-gradient-bottom

I've posted an image of my full question. Unfortunately posting the base64 string itself deleted my previous comment. Weird... Restored the Base64 string post. Needed moderator approval

Anyway, blocking .ytp-gradient-bottom on youtube as suggested by TyDraniu works.

由NoahSUMO于修改