Skip to content

Instantly share code, notes, and snippets.

@hexium310
Last active October 31, 2024 09:11
Show Gist options
  • Save hexium310/afadeb0fae2dc6a4666bb1dc0c6c5f9d to your computer and use it in GitHub Desktop.
Save hexium310/afadeb0fae2dc6a4666bb1dc0c6c5f9d to your computer and use it in GitHub Desktop.
A style for disabling unfollow button at the user's bio and the more dropdown in Twitter
/* ==UserStyle==
@name Disable Unfollow Button
@namespace github.com/hexium310
@version 0.0.2
@preprocessor default
==/UserStyle== */
@document url-prefix("https://x.com/") {
[data-testid$="unfollow"], [data-testid="Dropdown"]:has(> a[href$="/quotes"]) > :has(+ a[href="/i/lists/add_member"]) {
pointer-events: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment