"The tool, named SugarCoat, targets scripts that harm users' privacy—for example, by tracking their browsing history around the Web—yet are essential for the websites that embed them to function. SugarCoat replaces these scripts with scripts that have the same properties, minus the privacy-harming features. SugarCoat is designed to be integrated into existing privacy-focused browsers like Brave, Firefox, and Tor, and browser extensions like uBlock Origin. SugarCoat is open source and is currently being integrated into the Brave browser."
This tool protects your private data while you browse
https://techxplore.com/news/2021-11-tool-private-browse.html