Greasy Fork is available in English.

Pre 2024 Youtube UI

Revert to old Youtube UI

< 脚本Pre 2024 Youtube UI的反馈

评价:好评 - 脚本一切正常

§
发表于: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)
KartongFace作者
§
发表于: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.

§
发表于: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...

发表回复

登录以发表回复。