diff options
author | NunoSempere <nuno.sempere@protonmail.com> | 2023-11-20 00:50:27 +0000 |
---|---|---|
committer | NunoSempere <nuno.sempere@protonmail.com> | 2023-11-20 00:50:27 +0000 |
commit | f280b6f0f8def3f0c39642570371e3cca379ef20 (patch) | |
tree | b0dc15a04e72704fabcb4b8eb9e669c2480ff016 /plugins/style | |
parent | ca5f7319123ea9cb53348be0706e513dae93e382 (diff) |
more twitter style tweaks
Diffstat (limited to 'plugins/style')
-rw-r--r-- | plugins/style/style.c | 2 | ||||
-rw-r--r-- | plugins/style/style.h | 2 | ||||
-rw-r--r-- | plugins/style/style.js | 27 |
3 files changed, 29 insertions, 2 deletions
diff --git a/plugins/style/style.c b/plugins/style/style.c index 88c82a7..8fb0b08 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 6073 + 100 +#define STYLE_N 6512 + 100 void read_style_js(char* string) { diff --git a/plugins/style/style.h b/plugins/style/style.h index 18175c4..df0408e 100644 --- a/plugins/style/style.h +++ b/plugins/style/style.h @@ -1,7 +1,7 @@ #ifndef STYLE #define STYLE -#define STYLE_N 6073 + 100 +#define STYLE_N 6512 + 100 void read_style_js(char* string); diff --git a/plugins/style/style.js b/plugins/style/style.js index f8827ef..6c9e652 100644 --- a/plugins/style/style.js +++ b/plugins/style/style.js @@ -78,13 +78,40 @@ if (document.domain == "twitter.com") { [data-testid^="sidebarColumn"] { display: none; } + + /* Hide DMs v2 */ [data-testid^="DMDrawerHeader"] { display: none; } + + /* Tweak main column */ [data-testid^="primaryColumn"] { min-width: 900px; max-width: 900px; + } + + /* Delete a few unused or annoying elements */ + [aria-label^="Verified Orgs"] { + display: none; + } + [aria-label^="Lists"] { + display: none; + } + [aria-label^="Communities"] { + display: none; + } + [aria-label^="Primary"] { + margin-top: 50px; + } + [role^="progressbar"]{ + display: none; + } + .r-1h8ys4a { + display: none; + } + .r-ymttw5 { + display: none; } /* hide video */ |