Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Anti Annoying Call Suggestion on GoogleJp
// ==UserScript==
// @name Anti-AnnoyingCallSuggestion GoogleJp
// @namespace Violentmonkey Scripts
// @match *://*/*
// @grant none
// @version 1.0
// @author koumaza
// ==/UserScript==
// TODO For PC
const recsNodeSelector = (node, hierarchy) => {
let followedNode = node
Array.from(Array(hierarchy)).map(()=>{
followedNode = followedNode.parentNode
})
return followedNode
}
window.addEventListener('load', () => {
recsNodeSelector(document.querySelector('[href="https://www.mhlw.go.jp/stf/seisakunitsuite/bunya/hukushi_kaigo/seikatsuhogo/jisatsu/soudan_tel.html"]'),6).style.setProperty('display','none','important')
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment