aboutsummaryrefslogtreecommitdiff
path: root/plugins/style
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2023-11-22 20:41:21 +0000
committerNunoSempere <nuno.sempere@protonmail.com>2023-11-22 20:41:21 +0000
commita2f5a864bf822dfb7b39035c256464bfb6a2b0f6 (patch)
treef0dcf766454acb881bec8deb14968544545b48d2 /plugins/style
parent292a3f6761bc9b79fddb098d27544db2acf98329 (diff)
more twitter tweaks
Diffstat (limited to 'plugins/style')
-rw-r--r--plugins/style/style.c2
-rw-r--r--plugins/style/style.h2
-rw-r--r--plugins/style/style.js3
3 files changed, 5 insertions, 2 deletions
diff --git a/plugins/style/style.c b/plugins/style/style.c
index 147cd11..baaaaa8 100644
--- a/plugins/style/style.c
+++ b/plugins/style/style.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#define STYLE_N 6765 + 100
+#define STYLE_N 6715 + 1000
void read_style_js(char* string)
{
diff --git a/plugins/style/style.h b/plugins/style/style.h
index 0a3978d..0e7fb5d 100644
--- a/plugins/style/style.h
+++ b/plugins/style/style.h
@@ -1,7 +1,7 @@
#ifndef STYLE
#define STYLE
-#define STYLE_N 6765 + 100
+#define STYLE_N 6715 + 1000
void read_style_js(char* string);
diff --git a/plugins/style/style.js b/plugins/style/style.js
index e93a307..4ec3e86 100644
--- a/plugins/style/style.js
+++ b/plugins/style/style.js
@@ -96,6 +96,9 @@ if (document.domain == "twitter.com") {
[aria-label^="Timeline: Conversation"]{
margin-left: 145px;
}
+ [data-testid^="DMDrawer"]{
+ display: none;
+ }
/* Delete a few unused or annoying elements */
[aria-label^="Verified Orgs"] {