Skip to content

Instantly share code, notes, and snippets.

@tomkinsc
Last active January 30, 2025 00:09
Show Gist options
  • Save tomkinsc/ae425e7333e897f8c9aba25a2a91d31a to your computer and use it in GitHub Desktop.
Save tomkinsc/ae425e7333e897f8c9aba25a2a91d31a to your computer and use it in GitHub Desktop.
uBlock Origin cosmetic filter expression to hide "AI Overview" block in Google search results; working on English-language results as of 2025-01-29. subject to revision as DOM evolves over time; also block "People also ask" block
##h1:has-text(AI Overview):xpath(./ancestor::div[(@data-mcpr)])
##span:has-text(People also ask):xpath(./ancestor::div[(@jscontroller)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment