diff options
author | Teddy Wing | 2021-09-04 20:42:02 +0200 |
---|---|---|
committer | Teddy Wing | 2021-09-04 20:42:02 +0200 |
commit | 6a7bf2f830807648937d601721b93f96ae2f13b2 (patch) | |
tree | 55cc29c7f3f6f8912b59729bb09942397be278ff /netflix-immersive.user.js | |
parent | eb12719c2805a444735352de39f4b1ac299dee5b (diff) | |
download | netflix-immersive-6a7bf2f830807648937d601721b93f96ae2f13b2.tar.bz2 |
styles: Hide new promo container that appears at the end of movies
Now, when a movie completely finishes playing, this promo container is
shown and the video is minimised. This takes care of the promo
container. Still need to fix the minimising.
Diffstat (limited to 'netflix-immersive.user.js')
-rw-r--r-- | netflix-immersive.user.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netflix-immersive.user.js b/netflix-immersive.user.js index 2c8f2fe..d302682 100644 --- a/netflix-immersive.user.js +++ b/netflix-immersive.user.js @@ -224,7 +224,7 @@ function styles() { var stylesheet = style.sheet; // 2021.08.13: May want to remove `.player-view-childrens`, which is now // replaced by `.advisory-container`. - stylesheet.insertRule("\n\t\t/* \"Back to Browse\" button that appears when credits are minimised. */\n\t\t.OriginalsPostPlay-BackgroundTrailer .BackToBrowse,\n\t\t.watch-video--seamless-back,\n\n\t\t/* Promo that appears during credis */\n\t\t.OriginalsPostPlay-BackgroundTrailer,\n\t\t.SeamlessControls--background-artwork-visible,\n\n\t\t/* Age rating. */\n\t\t.player-view-childrens,\n\t\t.advisory-container,\n\n\t\t/* \"Watch Credits\" button. */\n\t\t[data-uia=\"watch-credits-seamless-button\"],\n\n\t\t/* Skip buttons. */\n\t\ta[aria-label=\"Skip Intro\"],\n\t\ta[aria-label=\"Skip Recap\"],\n\t\ta[aria-label=\"Next Episode\"],\n\t\t[data-uia=\"next-episode-seamless-button\"],\n\t\t.watch-video--skip-content {\n\t\t\tvisibility: hidden !important;\n\t\t}", stylesheet.cssRules.length); + stylesheet.insertRule("\n\t\t/* \"Back to Browse\" button that appears when credits are minimised. */\n\t\t.OriginalsPostPlay-BackgroundTrailer .BackToBrowse,\n\t\t.watch-video--seamless-back,\n\n\t\t/* Promo that appears during credis */\n\t\t.OriginalsPostPlay-BackgroundTrailer,\n\t\t.SeamlessControls--background-artwork-visible,\n\t\t.ptrack-container.fill-container,\n\n\t\t/* Age rating. */\n\t\t.player-view-childrens,\n\t\t.advisory-container,\n\n\t\t/* \"Watch Credits\" button. */\n\t\t[data-uia=\"watch-credits-seamless-button\"],\n\n\t\t/* Skip buttons. */\n\t\ta[aria-label=\"Skip Intro\"],\n\t\ta[aria-label=\"Skip Recap\"],\n\t\ta[aria-label=\"Next Episode\"],\n\t\t[data-uia=\"next-episode-seamless-button\"],\n\t\t.watch-video--skip-content {\n\t\t\tvisibility: hidden !important;\n\t\t}", stylesheet.cssRules.length); stylesheet.insertRule("\n\t\t/* Remove white border around credits. */\n\t\t.NFPlayer.can-resume:hover {\n\t\t\tborder: none !important;\n\t\t}", stylesheet.cssRules.length); } exports.default = styles; |