3 ms·
I wrote and shared uBlock Origin filters for Facebook, shared on Reddit and up to a week later they changed the DOM structure bypassed the filters. After some a
by qbane 2mo ago
I wrote and shared uBlock Origin filters for Facebook, shared on Reddit and up to a week later they changed the DOM structure bypassed the filters. After some attempts I no longer publish the filters.
- amelius 2mo agoMaybe a better approach is to convert the page to an image, run OCR over it, use an LLM to remove the ads, present the result to the user.
- ImJamal 2mo agoHow would you comment or watch a video if you did that?
- amelius 2mo agoYou can still do that. The only thing I'm proposing is to do the filtering on graphical data (what the user actually sees) rather than on the DOM (which can be obfuscated; and which may change every week).
- dudhsudhd 2mo agoI don’t see how presenting an image would allow you to interact with the page, especially if all you are doing is modify the image you’re presenting, not the page itself.
- amelius 2mo agoThink of it as looking at your screen through AR goggles, where the goggles modify the image before it reaches your eyes. Everything happens at the image level so there's no way Meta can obfuscate the DOM to make ads pass through.
- kdksjxjwjd 2mo agoSo the ads are still served, just… hidden. Self-defeating, no?
- ImJamal 2mo agoAre you saying you would get the image, detect the ad in the image, then regenerate the HTML without the ad based on where it was located in the image?
- lokar 2mo agoYou don’t need to regenerate, insert a DOM element to obscure it.
- ceejayoz 2mo agoThat sounds like an upside.
- hatsunearu 2mo agoCould you publish it with a license saying it shall not be used by any Facebook employee or something?
- qbane 2mo agoIt is like prohibiting LLM consumption by putting a small reminder -- never works if done without using weird tricks (like mentioning nuclear weapon) also if they are forging new DOM structure they are NOT using the filter itself