From 488f5efa2f117b13dcfb0114bf628ee480800943 Mon Sep 17 00:00:00 2001 From: Ajay Date: Sat, 18 Mar 2023 02:05:14 -0400 Subject: [PATCH] Add option to disable thumbnail icons --- public/_locales/en/messages.json | 4 ++++ public/options/options.css | 5 +++++ public/options/options.html | 15 ++++++++++++++- src/config.ts | 2 ++ src/content.ts | 1 + src/utils/thumbnails.ts | 2 +- 6 files changed, 27 insertions(+), 2 deletions(-) diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index 9a31e87a..77d68cb7 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -797,6 +797,10 @@ "message": "Show an icon when a video is entirely an advertisement", "description": "Referring to the category pill that is now shown on videos that are entirely sponsor or entirely selfpromo" }, + "fullVideoLabelsOnThumbnails": { + "message": "Show labels on video thumbnails as well", + "description": "Referring to the category pill that is shown on videos that are entirely sponsor or entirely selfpromo on recommended videos, in searches or on the homepage." + }, "previewColor": { "message": "Unsubmitted Color", "description": "Referring to submissions that have not been sent to the server yet." diff --git a/public/options/options.css b/public/options/options.css index 00035cd0..0ec58be6 100644 --- a/public/options/options.css +++ b/public/options/options.css @@ -696,4 +696,9 @@ svg { .upsellButton { cursor: pointer; vertical-align: middle; +} + +.no-bottom-border { + border: none !important; + padding: 20px 0px 0px 0px !important; } \ No newline at end of file diff --git a/public/options/options.html b/public/options/options.html index cd584374..dfaf7856 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -78,7 +78,7 @@ -
+
+
+
+ + +
+
+