Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jesterjunk/760d8bd2e9e6fc2ed82a567bd40fb9dc to your computer and use it in GitHub Desktop.

Select an option

Save jesterjunk/760d8bd2e9e6fc2ed82a567bd40fb9dc to your computer and use it in GitHub Desktop.
Tampermonkey userscript: Hide AI Overview in Google Search
// ==UserScript==
// @name Hide AI Overview in Google Search
// @namespace https://gist.github.com/jesterjunk/
// @homepage https://gist.github.com/jesterjunk/760d8bd2e9e6fc2ed82a567bd40fb9dc
// @version 0
// @description Hides the AI Overview section on Google Search results.
// @author a speck of dust on a tiny rock flying through a vast expanse of the universe
// @match https://www.google.com/search*
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com
// @run-at document-start
// @grant GM_addStyle
// ==/UserScript==
/*╭───────────────────────────────────────────────────────────────────────────────╮
v5.1.1 Chrome 131.0.6778.140 (Official Build) (64-bit)
Tested with Tampermonkey in:
v5.3.2 Firefox 133.0.3 (64-bit)
╰───────────────────────────────────────────────────────────────────────────────╯*/
GM_addStyle ( `
div[data-mcp="18"] div[data-is-desktop="1"] {
display: none;
}
` );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment