Last active
July 13, 2022 05:04
-
-
Save ivan/cf2d7e53718e8f3a4489f3e66213136d to your computer and use it in GitHub Desktop.
uBlock Origin rules to hide useless stuff on Google Search results pages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! This is the most annoying one that Google optimizes for accidental clicks. | |
! | |
! Hide the 'People also search for' slide-in box when going back on Google Search. | |
! We require the other attributes here to reduce the risk of false positives. | |
www.google.com#$#div[id^="eob_"][jscontroller][jsdata][jsaction][data-ved] { display: none !important; } | |
! Hide the 'People also ask' box | |
www.google.com#$#div[data-initq][data-it][jscontroller][jsaction]:nth-ancestor(1) { display: none !important; } | |
! Hide the 'Related searches' box | |
www.google.com#$#span[class]:has-text(/^Related searches$/):nth-ancestor(2) { display: none !important; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment