Pre 2024 Youtube UI

Revert to old Youtube UI

< Feedback on Pre 2024 Youtube UI

Review: Good - script works

§
Posted: 2024-04-10

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)
KartongFaceAuthor
§
Posted: 2024-04-12

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

§
Posted: 2024-04-13
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...

Post reply

Sign in to post a reply.