Skip to content

Latest commit

 

History

History
36 lines (33 loc) · 1.17 KB

File metadata and controls

36 lines (33 loc) · 1.17 KB

My Safari Content Blockers Rules

Twitter

Cosmetic Rules

! [iOS 16+] Remove not article(Who to follow(h2) + UserCell + Show more(a), Discover more(h2),Timeline: Carousel(section))
x.com##div[data-testid=cellInnerDiv]:has(> div > div > article) ~div[data-testid=cellInnerDiv] > div > div > :where(div:has(h2 ~div), button[data-testid=UserCell],a,section)

! [iOS 16+] Remove Discover more posts
x.com##div[data-testid=cellInnerDiv]:has(> div > div > div > h2 ~div) ~div

Media unblur and fit media in box

Media unblur for UserCSS.

.r-drfeu3, li > div > div > div > div:has(>svg)
{display: none !important}
.r-yfv4eo
{filter: none !important}

Fit media in box for UserCSS.

div[style^="background-image"]
{background-size: contain !important; background-position: center !important}

For UBlock Origin.

! x.com/ unblur for UBlock Origin
x.com##.r-yfv4eo:style(filter: none !important)
! x.com remove show
x.com##.r-drfeu3
! x.com/<user_name>/media remove show
x.com##li > div > div > div > div:has(>svg)
! fit media in box 
x.com##div[style^=background-image]:style(background-size: contain !important; background-position: center !important)