Hides the item "X Verified" and "X Premium" in the sidebar
Twitter: hide Verified/Premium in sidebar by rybak
![Screenshot of Twitter: hide Verified/Premium in sidebar](https://userstyles.world/preview/11888/2.jpeg)
Details
Authorrybak
LicenseCC Zero
Categorytwitter.com
Created
Updated
Size1.1 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
If you don't like recent renaming of Twitter, userscript Twitter: bring back old name and logo is great.
See also style Twitter: hide Grok in sidebar.
Changelog
- v10: started hiding button "Get verified" on the user's profile
- v9: started hiding some of the ads about Premium/Verified
- v8: support for new URL
https://x.com/i/verified-orgs-signup
- v7: added support for https://x.com
- v6: support for new URL on the mobile version of the website
- v5: support for new URL
https://twitter.com/i/premium_sign_up
- v4: better support for mobile version of the website
- v3: tweaked
@name
- v2: fixed the style after the link was renamed from "Verified" to "Premium"
- v1: initial release
Source code
/* ==UserStyle==
@name Twitter: hide Verified/Premium in sidebar
@namespace github.com/rybak
@version 10
@description Hides the item "X Verified" and "X Premium" in the sidebar
@homepageURL https://github.com/rybak/
@license CC Zero
@author Andrei Rybak
==/UserStyle== */
@-moz-document domain("twitter.com"), domain("x.com") {
[aria-label="Verified"],
nav [href="/i/verified-choose"],
nav [href="/i/premium_sign_up"],
nav [href="/i/verified-orgs-signup"],
.css-175oi2r.r-1awozwy.r-18u37iz [href="/i/premium_sign_up"],
.css-175oi2r.r-1awozwy.r-18u37iz [href="/i/verified-orgs-signup"],
.css-175oi2r.r-1awozwy.r-18u37iz [href="/i/verified-choose"] {
display: none;
}
/* hide Premium ads in the timeline */
section > div > div > div:has(a[href^="/i/premium_sign_up"]),
section > div > div > div:has(a[href^="/i/premium_sign_up"]) + div {
display: none;
}
/* hide "Get verified" button */
div[data-testid="UserName"] > div:has(> div > a[href="/i/premium_sign_up"]) {
display: none;
}
}