Created
June 13, 2020 12:13
-
-
Save alufers/2602927aa249e4aa6250228c49d563b9 to your computer and use it in GitHub Desktop.
userscript to remove crappy wikipedia translations from the knowledge graph card on Google.
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 Remove Google Knowledge Graph translations | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Remove crappy wikipedia translations from the knowledge graph card. | |
// @author alufers | |
// @match https://www.google.com/* | |
// @grant none | |
// ==/UserScript== | |
(function () { | |
"use strict"; | |
document.querySelector(".IKQu9e").click(); | |
document.querySelector(".kno-rdesc").style.display = "none"; | |
document.querySelector(".o5Wcxb").style.display = "none"; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment