Live data from Hacker News

Show HN: Feed Remover

github.com

41–50 of 54 posts

Re: Show HN: Feed Remover

#41

does this remove an entire feed or selective content in feed don't want to see?

The current version just grabs the whole feed and removes it from the website. If you can program, it won't be hard for you to extend it so you can remove only the content you want.

thanks appreciate response

Re: Show HN: Feed Remover

#42
post #26

Earlier quoted context omitted.

The whole point is to actually have installed locally so you don't share any data with the developer of the extension. The problem with extensions is that in many cases the access that you give them is way too broad. If you install it by yourself, you control everything. The only thing that I thought about is maybe some kind of configurator that would allow you to pick some already existing rules that the users would…

There isn't really a special protection if you install a extension in developer mode. More the opposite because you have to totally trust the source. Web stores search for certain malware patterns and get at leat some.

Thanks for pointing this out. The whole discussion around "the developer doesn't see my data" confused me, as the question of whether the code is malicious is orthogonal to installation method.

Given that uBlock Origin can do this, I'd recommend that route. uBlock Origin is probably the most trustworthy extension I've ever run across, and Gorhill has proven that he is trustworthy over many years.

Re: Show HN: Feed Remover

#46
post #22

Cool! Just curious, why do you query 10 times per second for a feed? This seems kind of excessive and maybe a bit bad for battery life, especially since this could be running in several tabs at once.

This is just the straightforward idea of waiting for some element to appear on the website. But once the element is found, this thing stops. It won't stop for YouTube if you are on Facebook though but it's just a first implementation and it could actually be very easy to recognize the site. Thanks for the helpful suggestion!

hey just curious, can't the mutationobserver catch this instead of that approach?

https://developer.mozilla.org/en-US/docs/Web/API/MutationObs...

Re: Show HN: Feed Remover

#48

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

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.

It's only "your own" to you. Neither uBlock Origin nor your extension from Github are "my own". See?

Re: Show HN: Feed Remover

#49

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

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.

Re: Show HN: Feed Remover

#50
post #46

Earlier quoted context omitted.

This is just the straightforward idea of waiting for some element to appear on the website. But once the element is found, this thing stops. It won't stop for YouTube if you are on Facebook though but it's just a first implementation and it could actually be very easy to recognize the site. Thanks for the helpful suggestion!

hey just curious, can't the mutationobserver catch this instead of that approach? https://developer.mozilla.org/en-US/docs/Web/API/MutationObs...

Definitely! The current implementation is supposed to just do the work. It's not meant to be optimized or anything.
Post reply on HN