From 7856f993a449986b66d733bd5e83f369ce0dfafb Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sun, 4 Dec 2016 00:43:05 +0100 Subject: [PATCH] When extension is reloaded, it now cleans youtube's UI after itself. If buttons can't fit on the player's control bar, all buttons except the 'settings' one get hidden. (So at the moment, they DO NOT get re-enabled when switching to fullscreen and back again. TODO!). If the settings popup is taller than player, it gets scaled down. (Aspect ratio submenu doesn't. FIXME!) --- js/uw.js | 227 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 152 insertions(+), 75 deletions(-) diff --git a/js/uw.js b/js/uw.js index ae33837..a07410b 100644 --- a/js/uw.js +++ b/js/uw.js @@ -38,6 +38,8 @@ $("