Hacker News new | ask | show | jobs
by chrismorgan 975 days ago
Content blockers like uBlock Origin can do this. The two included in this extension become these cosmetic filters:

  www.facebook.com##[role="feed"]
  www.youtube.com###contents
3 comments

The main problem that I have with extensions is: "It can: Read and change all your data on all websites" Having my own, local extension I don't have to actually think whether I added some sensitive stuff to be exempt from permissions or not.
At this point of time, uBlock Origin is probably more trustworthy than some browser (read Chrome) themselves.
It's only "your own" to you. Neither uBlock Origin nor your extension from Github are "my own". See?
uBlock Origin is weak when it comes to new DOM elements dynamically created after the page has ostensibly loaded. Most of its powerful "cosmetic filter" selection operators don't work on such elements. I suspect that could make it of limited use on a feed object in which new elements appear, if you want to filter specific elements. (Aren't "infinite" feeds lazily loaded by JS?)

Still, much smarter to try it first to see if it fits your use case.

LinkedIn:

.scaffold-finite-scroll__content { display: none }