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.
It 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
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).
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.
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?