Created
March 30, 2021 09:09
-
-
Save yatt/1a705975b69262bc1c40e50e3540167a to your computer and use it in GitHub Desktop.
Google Search Ads remove tampermonkey script(for jpn) 2021-03-30(experimental)
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
// ==UserScript== | |
// @name Remove Google Ads | |
// @namespace https://gist.github.com/yatt/ | |
// @version 1.0.0 | |
// @description remove google search ads | |
// @author You | |
// @match https://www.google.com/search?q=* | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var root = document.getElementById('center_col'); | |
var lst = document.querySelectorAll('[aria-label*="広告"]', root); | |
lst.forEach(elem => elem.remove()); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment