Skip to content

KevinNyaa/My-Safari-Content-Blockers-Rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

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)

Releases

No releases published

Packages

No packages published