yang991178 / fluent-reader

Modern desktop RSS reader built with Electron, React, and Fluent UI
https://hyliu.me/fluent-reader/
BSD 3-Clause "New" or "Revised" License
7.52k stars 413 forks source link

Idea for adding ad block #444

Open jpmvferreira opened 2 years ago

jpmvferreira commented 2 years ago

Is your feature request related to a problem? Please describe. My feature request is related to a recurring problem: ads There has been several request to add ad block to Fluent Reader, of which I am aware of the following:

346

281

18 (not in English)

92

The only suggestion to work around this issue was to use a PAC proxy that blocks ads, and a Github repository was provided that includes such a file: https://github.com/essandess/easylist-pac-privoxy This solution works fine, however, it's not perfect, as it doesn't render the websites the way my browser does, due to the fact that it is heavily customized.

Describe the solution you'd like My idea was then to somehow render the webpage in Fluent Reader has if it was rendered by the user browser, which means it would include all of the addons and configurations he would specify, without leaving the reader and opening another tab to read an article. I'm suggesting this because I am under the impression that I have seen an RSS reader before which did exactly that, only that I can't seem to find it. I'm also completely oblivious as to how easy it would be to implement such a feature, but I think it would solve all of those problems, and a few others.

yang991178 commented 2 years ago

Thanks for linking the previous issues. Electron can only render webpages using the builtin Chromium, so I'm afraid that it can't invoke add-ons in your existing browser. The way to implement this would probably to use some Easylist-compatible node library out there for webview, which I may look into in the future.

Ferryistaken commented 2 years ago

Any updates? I'd be willing to work on it if you give me some directions on where to start.