Skip to content

Instantly share code, notes, and snippets.

@bymathias
Created March 16, 2021 18:03
Show Gist options
  • Save bymathias/22db999b9d98395cf3a50960d3d585ad to your computer and use it in GitHub Desktop.
Save bymathias/22db999b9d98395cf3a50960d3d585ad to your computer and use it in GitHub Desktop.
(function (d) {
const elNames = d.querySelectorAll('.docos-anchoredreplyview-authortimestamp')
const elAvatars = d.querySelectorAll('.docos-anchoredreplyview-avatar-holder')
const color = '#F8F9FA'
elNames.forEach(el => {
el.firstChild.style.color = color
el.firstChild.style.backgroundColor = color
el.lastChild.style.visibility = 'hidden'
})
elAvatars.forEach(el => {
el.firstChild.style.visibility = 'hidden'
el.lastChild.style.backgroundColor = color
})
return 'Hide User..'
})(document)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment