-
-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR]: Replace AdBlock with uBlock Origin. #410
Comments
uBlock origin (and pretty much every other adblock implementation) uses JavaScript as its primary runtime (V8) and is pretty much impossible to integrate withing RSS Guard. RSS Guard uses pretty much the same implementation as for example Falkon.
Does this happen to you? It should not, because adblocking in RSS Guard is NEVER used when downloading feeds/messages. It is literally used only when browsing web pages with internal web browser.
Legally, it is okay. Technically, pretty hardcore. You are welcomed to create nicely structured PR. |
What about allowing user to somehow call 3rd-party user JavaScript code (nodejs) from RSS Guard? If allowed, you could probably use this. |
For me:
|
@WhyIsEvery4thYearAlwaysBad The solution proposed in my above replies is good, I started implementing it for RSS Guard 4.0.0. Change will be very nice and quite a lot of code could be now removed from RSS Guard as well, while keeping basically almost all previous features and gaining robust, stable and faster implementation. |
Update docs, will start implementing soon. |
The node.js implementation should work fine. What should be included in adblock/uBO though? |
What do you mean with:
? |
I was just saying what features should be included. |
@WhyIsEvery4thYearAlwaysBad Could you please do some testing of latest development build (compiled in 10 minutes)? The feature should be there and is working pretty nicely. I will implement adblock query caching to speed it up even more and then close the ticket as done. |
The amount of setup that needs to be done by end-user for it to work is insane, I have no idea how it ended being acceptable solution. |
Hello @barolo.
Sure you don't, everyone can submit PRs by the way.
Everyone can submit PRs. At this point, these are the literal steps to have adblock working:
Are you kidding me?
OK so with your suggestion, proposed steps to install your suggested adblock solution would be:
WHAT A GREAT improvement over current situation! |
Not everyone is using Windows, it's worse than tech-bubble blindness it's a Windows-bubble blindness. Python is already a part of the system on non-Windows platforms, while node is not [ and for a good reason ] The only step needed would be the second one as rust-adblock is already part of the wheel |
Is Rust also part of the system on non-Windows platforms? |
Depends on the distro. |
No, generally it is not. It is not a part of OS/2, it is not a part of all Linux distros, for example Arch (which I use). This is not really valid argument on why
Made my day. I am not advocating neither Python nor nodejs. Anyway, RSS Guard is open-source project, anyone can provide pull request, if you want to provide (switchable) alternative, I will be more than happy to merge it, few things that your implementation must take into account:
EDIT: Look, I am not saying nodejs is great and Python is bad (I actually use Python for many example scrapers within rssguard repository). All I am saying is that the argument that python-based adblock is somehow easier to install is just not valid. Both nodejs and python based adblock can be installed with fairly similar number of command line commands. |
You are forgetting that the |
It is not - on Arch it is separate package. All people, take my above comment into account. |
Yes, I know, it was a rhetorical question. (On ubuntu too.) |
python-adblock is in my distro's repo, so no pip is needed |
Brief description of the feature request.
AdBlock is slower and inefficient compared to uBO (or even AdBlock Plus) and can cause some issues (such as triggering BlockAdBlock) when trying to get RSS updates, due to injecting all filters by default.[1][2][3][4][5][6] I have verified that there are no copyright issues with incorporating uBO's source code into other programs.[1][2]
The text was updated successfully, but these errors were encountered: