diff --git a/popup.html b/popup.html index 8f3cab3..dd308db 100644 --- a/popup.html +++ b/popup.html @@ -28,10 +28,6 @@
플레이어
-
- - -
diff --git a/popup.js b/popup.js index 400c24e..f909cea 100644 --- a/popup.js +++ b/popup.js @@ -12,7 +12,6 @@ chrome.storage.local updateSidebar: true, category: true, popupPlayer: true, - hotkey: true, arrowSeek: true, rememberTime: true, fitPlayer: false, diff --git a/web/inject.js b/web/inject.js index dca2412..f2cfa5a 100644 --- a/web/inject.js +++ b/web/inject.js @@ -544,7 +544,6 @@ FPS: ${info.fps} }; let pzpVue; -let viewModeButton; const attachPlayerObserver = async (isLive, tries = 0) => { const playerLayout = document.getElementById( isLive ? "live_player_layout" : "player_layout" @@ -610,7 +609,7 @@ const initPlayerFeatures = async (node, isLive, tries = 0) => { ); } - viewModeButton = pzp.querySelector(".pzp-pc-viewmode-button"); + const viewModeButton = pzp.querySelector(".pzp-pc-viewmode-button"); if (document.pictureInPictureEnabled) { cloneButton( viewModeButton, @@ -931,28 +930,6 @@ document.body.addEventListener("keydown", (e) => { return; } switch (e.key) { - case "f": - case "ㄹ": - if (config.hotkey && pzpVue != null) { - if (pzpVue.fullscreen) { - pzpVue.$store.dispatch("exitFullscreen"); - } else { - pzpVue.$store.dispatch("requestFullscreen"); - } - } - break; - case "m": - case "ㅡ": - if (config.hotkey && pzpVue != null) { - pzpVue.muted = !pzpVue.muted; - } - break; - case "t": - case "ㅅ": - if (config.hotkey) { - viewModeButton?.click(); - } - break; case "ArrowLeft": seek(true); break; diff --git a/web/main.js b/web/main.js index a2d102d..f06d4e2 100644 --- a/web/main.js +++ b/web/main.js @@ -25,7 +25,6 @@ if ( updateSidebar: true, category: true, popupPlayer: true, - hotkey: true, arrowSeek: true, rememberTime: true, fitPlayer: false,