upvote
Maybe 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.
reply
How would you comment or watch a video if you did that?
reply
That sounds like an upside.
reply
You 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).

reply
I 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.
reply
Are 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?
reply
You don’t need to regenerate, insert a DOM element to obscure it.
reply
Could you publish it with a license saying it shall not be used by any Facebook employee or something?
reply