Facebook is a malware, also is chrome. I use brave browser (chromium fork) and it works ok in most sites, no problem. But it blocks javascript.
The "problem" however might not be a malware but the language of the sites like bootstrap or react.js that excecute a portion of the code in your computer to do whatever facebook is doing like spying on you, maybe.