aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2023-11-08 23:00:31 +0000
committerNunoSempere <nuno.sempere@protonmail.com>2023-11-08 23:00:31 +0000
commit09c9c50406cf53a1fe500d2ed59e9e0c20e06012 (patch)
tree9963237b4e807c192856d06f13480fed58ae31b9 /plugins
parent4d94d2d2e6aa43cb478748aa093c9054de67914a (diff)
tweak: replace search engine + avoid twitter videos
Diffstat (limited to 'plugins')
-rw-r--r--plugins/style/style.js9
1 files changed, 9 insertions, 0 deletions
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]';
+ }
`;
}