Skip to content

char/ublock-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

ublock-rules

charlotte's ruleset for making sites better using uBlock Origin.

To create a new content blocking rule, right click somewhere on the page, hit 'Block Element' on the context menu that pops up, and paste the rule in.

Twitter

Trending widget

##section[role="region"]:has(h1:has-text("Trending now"))

Screenshot (cw: shows trending items)

'Discover more' under tweets

  1. ##[data-testid=cellInnerDiv]:has(h2:has-text(Discover more))
  2. ##[data-testid=cellInnerDiv]:has(h2:has-text(Discover more)) ~ *

Screenshot

Twitter 'Verified' button

##nav > a[href="/i/verified-choose"]

Screenshot

Quote tweets of/about JK Rowling

##article[data-testid=tweet]:has(span:has-text(/^Quote Tweet$/)):has(div[role=link]:has-text(/@?j[. ]*k[ _\-.]*rowling/i))

Sidebar widget: "Spaces"

##[data-testid="sidebarColumn"] h2:has-text(Listen live in Spaces):upward(2)

SoundCloud

Home screen insights widget

##.insightsSidebarModule

Google

Links to w3schools

  1. ###search > div > div > div:has(a[href*=".sqlitetutorial.net/"])
  2. ###search > div > div > div:has(a[href*=".w3schools.com/"])

YouTube

Home page "Shorts" shelf

##ytd-rich-shelf-renderer[is-shorts]

About

charlotte's uBlock Origin rulesets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published