From 09de14b4812e82ff30dae2e1d6b892bc1d076d09 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 8 May 2020 17:08:06 +0200 Subject: styles: Hide the "Watch Credits" button This button appears now when the credits of TV series start playing. --- src/styles.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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 + ); } -- cgit v1.2.3