Skip to content

Instantly share code, notes, and snippets.

@NullDev
Created January 25, 2023 12:09
Show Gist options
  • Save NullDev/36caac169008af6db8ff240dd5e8d86b to your computer and use it in GitHub Desktop.
Save NullDev/36caac169008af6db8ff240dd5e8d86b to your computer and use it in GitHub Desktop.
Hide Google Ads in Search Results
// ==UserScript==
// @name Hide Google Ads
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Hide google ads in search results
// @author NullDev
// @match https://www.google.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com
// @grant none
// ==/UserScript==
(() => (document.head.innerHTML += `<style type="text/css" data-source="NullDev-AntiAd">#taw, #bottomads { display:none!important; }</style>`))();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment