3 ms·
Andreas my guy! congrats! and I'm sure many people have asked this request: please integrate adblocking to Ladybird.
by lemper 3y ago
Andreas my guy! congrats! and I'm sure many people have asked this request: please integrate adblocking to Ladybird.
- DexesTTP 3y agoWell, 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/WebContent/main.cpp#L106 https://github.com/SerenityOS/serenity/blob/master/Ladybird/... [1] https://github.com/SerenityOS/serenity/blob/master/Userland/Applications/Browser/main.cpp#L49 https://github.com/SerenityOS/serenity/blob/master/Userland/... [2] https://www.youtube.com/watch?v=Jc22wPqpaBQ https://www.youtube.com/watch?v=Jc22wPqpaBQ
- deleted 3y ago[deleted]
- vkoskiv 3y agoBasic 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/Libraries/LibWeb/Loader/ContentFilter.h https://github.com/SerenityOS/serenity/blob/master/Userland/... 2: https://github.com/SerenityOS/serenity/blob/master/Base/home/anon/.config/BrowserContentFilters.txt https://github.com/SerenityOS/serenity/blob/master/Base/home...