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.
Could you publish it with a license saying it shall not be used by any Facebook employee or something?
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.