Scriptlet to remove greyed out comments on HN
Scriptlet to remove greyed out comments on HN
Hello everyone, I frequently send the comments from an article on HN to a TTS software I use on my iPhone called Voice Dream Reader. The only problem for me was listening to a greyed out comment and its children. Although valid discussions can be had in these situations, the majority in my opinion could be eliminated, so I created a scriptlet to do just that. I decided to share it here in case someone else finds it useful: javascript:void%20function()%7Bvar%20e=document.getElementsByClassName(%22commtext%22),n=0,t=0,a=!1;for(i%20in%20e)n=e%5Bi%5D.parentElement.parentElement.parentElement.children%5B0%5D.children%5B0%5D.width,1==a%26%26(n%3Et%3Fe%5Bi%5D.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.hidden=!0:a=!1),0==e%5Bi%5D.classList.contains(%22c00%22)%26%260==a%26%26(a=!0,t=n,e%5Bi%5D.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.hidden=!0)%7D();
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Clicking this will collapse all comments even if you didn't do so
Tremapping Comments from HN with WebGL
Dataset of Sarcastic HN Comments
Screenfetch for HN Comments
Embeddable hackernews comments
Lectio, contextualized comments for lectures
Collapse HN Comments
Flocking comments
Collapsible comments for HN (Greasemonkey)
A bookmarklet to remove submissions and comments about ChatGPT from HN