Pre 2024 Youtube UI

Revert to old Youtube UI

< Feedback de Pre 2024 Youtube UI

Avaliação: Bom - o script funciona

§
Publicado em: 10/04/2024

Pre 2024 Youtube UI may be returned with next custom rules in ad-blockers:

  • AdGuard
    youtube.com#%#//scriptlet('set-constant', 'yt.config_.EXPERIMENT_FLAGS.kevlar_watch_grid', 'false')
  • uBO
    youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.kevlar_watch_grid, false)
§
Publicado em: 12/04/2024

Does it also change the proportions to the old ones?
The script also changes the flags but the proportions needed to be handled independently.

§
Publicado em: 13/04/2024
javascript:(function(){
  var player=document.querySelector("#movie_player");
  var video=player.querySelector("video");
  video.style.height=player.offsetHeight+"px";
  video.style.width=player.offsetWidth+"px";
  document.querySelector(".ytp-chrome-bottom").style.width=(player.offsetWidth-24)+"px";
})();

Not sure it's perfect, but it seems like an option...

Enviar resposta

Entre para publicar uma resposta.

长期地址
遇到问题?请前往 GitHub 提 Issues。