From 09c9c50406cf53a1fe500d2ed59e9e0c20e06012 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Wed, 8 Nov 2023 23:00:31 +0000 Subject: tweak: replace search engine + avoid twitter videos --- plugins/style/style.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'plugins/style') diff --git a/plugins/style/style.js b/plugins/style/style.js index 68bea3d..6af94ed 100644 --- a/plugins/style/style.js +++ b/plugins/style/style.js @@ -78,6 +78,15 @@ if (document.domain == "twitter.com") { [data-testid^="sidebarColumn"] { display: none; } + + /* hide video */ + + [data-testid^="videoPlayer"] { + display: none; + } + [data-testid^="videoPlayer"]:before { + content: '[twitter video]'; + } `; } -- cgit v1.2.3