pull down to refresh
Are you running it? Maybe I should make a post about it and upload it as a GitHub Gist for easy installation
It doesn't solve the downzap problem though
I also need to figure out how to run this on iOS, if there's a way at all
I have it slated for testing but I won't run it in production because I don't run extensions outside of the built-in brave "shields" thing. Still it's something I would like to have.
I just learned that Shield allows you to run custom scriplets!
So if you save this as a custom scriptlet at brave://settings/shields/filters:
window.addEventListener('DOMContentLoaded', () => {
function removeCollapsedComments() {
document.querySelectorAll('div[class*="comment_collapsed"]')
.forEach(node => {
if (node.textContent.startsWith("reply from someone you muted")) node.remove()
}
)
}
// Run on initial page load
removeCollapsedComments();
// Watch for dynamically loaded content
const observer = new MutationObserver(removeCollapsedComments);
observer.observe(document.body, { childList: true, subtree: true });
})and then save this custom filter:
stacker.news##+js(user-stackernews.js)it also works!
Thank you!!!
Got myself a second opinion
Huh? Everyone does this.
Is this running on every single site we go to?
There?
On a new line and the script in the section below it.
it also works!
Confirmed.
@ek's
absomutescript is also interesting: #1438661