Hacker News new | ask | show | jobs
by lemper 1096 days ago
Andreas my guy! congrats! and I'm sure many people have asked this request: please integrate adblocking to Ladybird.
2 comments

Basic pattern-based content filtering is already built right into LibWeb[1]. I spot 851 patterns that get filtered currently [2].

1: https://github.com/SerenityOS/serenity/blob/master/Userland/... 2: https://github.com/SerenityOS/serenity/blob/master/Base/home...

Well, good news about that, a simplified version of adblocking through content filtering[0] is already part of Ladybird (and has been part of Browser[1], the version of Ladybird integrated in Serenity, for a while). There is even a video[2] where Andreas implemented it!

[0] https://github.com/SerenityOS/serenity/blob/master/Ladybird/...

[1] https://github.com/SerenityOS/serenity/blob/master/Userland/...

[2] https://www.youtube.com/watch?v=Jc22wPqpaBQ