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.
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.
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.