Skip to content

Instantly share code, notes, and snippets.

@Technetium1
Last active November 18, 2018 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Technetium1/b111bc7678761410b8f2e591f4d749ca to your computer and use it in GitHub Desktop.
Save Technetium1/b111bc7678761410b8f2e591f4d749ca to your computer and use it in GitHub Desktop.
Remove Ads from Google results
// ==UserScript==
// @name Remove Ads from Google search
// @namespace XcomeX
// @description Removes ads from Google search result pages
// @version 0.4
// @author XcomeX
// @include /^https?://www\.google\./
// @grant none
// ==/UserScript==
// Ad elements
var bottomads = document.getElementById("bottomads");
bottomads.remove();
var tads = document.getElementById("tads");
tads.remove();
var taw = document.getElementById("taw");
taw.remove();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment