I’d also assume that ublockorigin will stop most of this in its tracks.
Bonus points if you adopt cookie higiene and clean cookies, form data, etc. on browser exit (maybe save for some exceptions) [1]. Even better if you also use firefox containers, browser profiles, or maybe even different browsers for different browsing needs and online profiles.
[0]: https://github.com/gorhill/uBlock/wiki/Blocking-mode#medium-...
[1]: https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-Be...
[2]: https://support.mozilla.org/en-US/questions/1308719#answer-1...
Firefox containers and good browser hygiene can, but if you slip up...