3 ms·
It's actually pretty simple to block with a recursive filtering algorithm like this: https://github.com/gorhill/uBlock/compare/master...jameshilliard:has-visib
by jameshilliard 7y ago
It's actually pretty simple to block with a recursive filtering algorithm like this:
https://github.com/gorhill/uBlock/compare/master...jameshilliard:has-visible-text https://github.com/gorhill/uBlock/compare/master...jameshill...
or
https://github.com/tiratatp/facebook_adblock/blob/master/src/main.js https://github.com/tiratatp/facebook_adblock/blob/master/src...
which was roughly based off of my rejected uBlock implementation.
Funny enough I haven't even used facebook in years for the most part, I wrote one of those just to try and make them lose money as I believe I'm doing a public service by slowing their expansion/world domination plans.
- steve19 7y agoCan you explain what the rules to block that actually look like from a user perspective? Or does it require custom js?
- jameshilliard 7y agoWell with the uBlock filter I wrote it looked something like this at the time. facebook.com,facebookcorewwwi.onion##div[id^="hyperfeed_story_id_"]:has(div[id^="feed_sub_title_"]:has-visible-text(Sponsored))