fluent-reader icon indicating copy to clipboard operation
fluent-reader copied to clipboard

Idea for adding ad block

Open jpmvferreira opened this issue 2 years ago • 1 comments

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.

jpmvferreira avatar Aug 09 '22 15:08 jpmvferreira

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.

yang991178 avatar Aug 30 '22 00:08 yang991178

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

Ferryistaken avatar Sep 29 '22 16:09 Ferryistaken