aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fullscreen_credits.ts13
-rw-r--r--src/watch_credits.ts4
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++) {