Youtube - description on the right side above related videos

Description on the right side with avatar and channel name

< Обсуждения: Youtube - description on the right side above related videos

Отзыв: Нормальный — скрипт работает, но имеет существенные недостатки

Создано: 21.08.2022
Изменено: 21.08.2022

Really like this script! Minor complain I have is that on some videos "SHOW MORE" and "SHOW LESS" Buttons are shown even though they do nothing and the "...MORE" button is what you actually use. It would be nice to fix this minor issue :)

Thanks for the screenshot, without it I wouldn't understand. I was not able to reproduce your problem, I have tried on FF both on Tampermonkey and Violentmonkey. Could you pls send me some link where this occurs?
Also I am wondering why you have that chip bar above the videos, I have never seen chip bar above the related section.

Hi barn852. The issue seems to randomly occur. Sometimes when I click on videos those buttons appear but other times it just seemingly does not appear for any reason. This is the HTML for when the issue occurs;

Создано: 22.08.2022
Изменено: 22.08.2022

I went back to that exact youtube video (https://youtu.be/-55M_CXgAUw)and the issue occured then I refreshed the page and it fixed itself but then I come back after a while and it is back. Is there a way to make a script that trys to permenantly hide these broken elements ?

barn852Автор
Создано: 22.08.2022
Изменено: 22.08.2022

It's weird. I don't have such classes, I have not seen any starting with "desc_" neither now nor before. Do you have some other script that might injects those?
Actually I have just received today an other comment reporting an uncommon behaviour https://gfork.dahi.icu/en/scripts/429371-youtube-toggle-related-button/discussions/145492

If you want to eliminate them for sure, you can add a new script like below, and if it makes a mess later, you just disable it.

// ==UserScript==// @name            Youtube - hide desc_toggles// @namespace       Violentmonkey Scripts// @match           *://*.youtube.com/*// @grant           GM_addStyle// @version         1.0// @author          George Tarr// @description     6/18/2021, 2:24:57 AM// @run-at          document-end// ==/UserScript==GM_addStyle(`#meta-contents div.desc_toggles { display: none !important; }`);

or simple hide it with ublock (careful with the selection, not to hide other elements), much better concerning the performance.Sorry, I don't have better idea now.

Ответить

Войдите, чтобы ответить.