Last active
August 15, 2020 09:54
-
-
Save tai-cha/af384c5c41f45d00eacdcc554dd4e406 to your computer and use it in GitHub Desktop.
Hide result which include www.sejuku.net on Google Search (GreaseMonkey/userChrome.js Script)
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
// ==UserScript== | |
// @name Hide www.sejuku.net from google search | |
// @version 2 | |
// @include *://google.co.jp/search* | |
// @include *://www.google.co.jp/search* | |
// @include *://google.com/search* | |
// @include *://www.google.com/search* | |
// ==/UserScript== | |
for (let elem of document.getElementsByClassName("g")){if(elem.innerHTML.match(/www.sejuku.net/)){elem.style.display="none"}}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment