diff options
author | Teddy Wing | 2020-05-08 17:32:35 +0200 |
---|---|---|
committer | Teddy Wing | 2020-05-08 17:32:35 +0200 |
commit | 6fe95288e9a929dfaf94fb67969ebcb6b759e28e (patch) | |
tree | acaa192dc1c221651dc2b5ac2ce06fd5c562cd2d | |
parent | 5d0bd05c5c6cee5c3353845c462fbe7dfa8760cb (diff) | |
download | netflix-immersive-6fe95288e9a929dfaf94fb67969ebcb6b759e28e.tar.bz2 |
Remove old development comments
Old notes while I was working out elements and selectors to use.
-rw-r--r-- | src/fullscreen_credits.ts | 13 | ||||
-rw-r--r-- | src/watch_credits.ts | 4 |
2 files changed, 0 insertions, 17 deletions
diff --git a/src/fullscreen_credits.ts b/src/fullscreen_credits.ts index 9844bb3..edd8a8f 100644 --- a/src/fullscreen_credits.ts +++ b/src/fullscreen_credits.ts @@ -14,21 +14,8 @@ function init_mutation_observer (player) { // Activate player controls. player.click(); - // TODO: Change .active to .inactive - // mutation.target.classList.replace('active', 'inactive'); // Didn't work - // Remove .can-resume: Removes white border on hover - // PlayerControlsNeo__bottom-controls PlayerControlsNeo__bottom-controls--faded - // PlayerControlsNeo__layout PlayerControlsNeo__layout--active - // PlayerControlsNeo__layout PlayerControlsNeo__layout--inactive - - // document.querySelector('.PlayerControlsNeo__bottom-controls') - // .classList - // .add('PlayerControlsNeo__bottom-controls--faded'); - controls.hide(); - // .OriginalsPostPlay-BackgroundTrailer .BackToBrowse - return; } } diff --git a/src/watch_credits.ts b/src/watch_credits.ts index 3aba520..99c67ca 100644 --- a/src/watch_credits.ts +++ b/src/watch_credits.ts @@ -3,10 +3,6 @@ import logger from './logger'; import wait_element from './wait_element'; -// const watch_credits_button = document.querySelector('[data-uia="watch-credits-seamless-button"]'); - - - function init_mutation_observer (controls) { var observer = new MutationObserver(function(mutation_list) { for (var i = 0; i < mutation_list.length; i++) { |