aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2020-05-08 17:08:06 +0200
committerTeddy Wing2020-05-08 17:08:06 +0200
commit09de14b4812e82ff30dae2e1d6b892bc1d076d09 (patch)
treea0612bdfb8b14ecf65a503c3858c385ed986fc2f /src
parent5c3ee5406f842cec9e4db2e297c006b12cbf5dfc (diff)
downloadnetflix-immersive-09de14b4812e82ff30dae2e1d6b892bc1d076d09.tar.bz2
styles: Hide the "Watch Credits" button
This button appears now when the credits of TV series start playing.
Diffstat (limited to 'src')
-rw-r--r--src/styles.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/styles.ts b/src/styles.ts
index 940ff30..e1e0c28 100644
--- a/src/styles.ts
+++ b/src/styles.ts
@@ -14,4 +14,9 @@ export function styles () {
'.player-view-childrens { visibility: hidden; }',
stylesheet.cssRules.length
);
+
+ stylesheet.insertRule(
+ '[data-uia="watch-credits-seamless-button"] { visibility: hidden; }',
+ stylesheet.cssRules.length
+ );
}