-
-
Save ravachol70/2a1abd36f57d0327d414ca0fa42f4cb9 to your computer and use it in GitHub Desktop.
css selectors to cover up google's ongoing necrosis
This file contains hidden or 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
div#main>div:first-child>div:has(>div+div#center_col) div:has(div[jscontroller]>div[jsname]>div>h1+div[jscontroller]>div[jsmodel]) > div:first-child { | |
/* remove AI answers box */ | |
display: none; | |
} | |
div#search div[data-async-context] > div:nth-child(2) div:has(video, [aria-label*="Play on Google"]) { | |
/* remove videos section */ | |
display: none !important; | |
} | |
div#easter-egg { | |
/* this shit was cute back when you were GOOD, | |
google, but now it's just kinda distressing */ | |
display: none; | |
} | |
div#search div[data-async-context] > div:has(a[href*="https://www.quora.com"] > h3 + div > div cite > span):not(:has(div[data-q])) { | |
/* remove all results from quora */ | |
display: none; | |
} | |
div#search div[data-async-context] > div:has(div[data-q]) div[data-q] > div:first-child > div > div[aria-controls] > div:is(:first-child, :nth-child(2)) { | |
/* compress People Also Ask box */ | |
margin: 0px !important; | |
background: none; | |
} | |
div#search { | |
margin-top: 1em; | |
} | |
div#botstuff div[jsaction]:has(div[data-q]) div { | |
/* hide bottom People Always Ask | |
box (WHY are there two boxes) */ | |
display: none; | |
} | |
div#sfooter { | |
/* disable creepy footer that tells you where you are */ | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment