How do you stop Facebook JS files from loading? I've tried:
But despite doing all of the above, we still have multiple Facebook files loading (one is huge):
If JS isn't being loaded from theme files, where on earth do they load from?
Any help would be much appreciated.
Solved! Go to the solution
Fb files are loaded by content_for_header
Use capture and a filter to remove them
This is an accepted solution.
Honestly Im not sure, I don't think it's loaded by default. It's probably loaded by an app. But it's pretty hard to trace which app. I read a similar topic on the forums, Somone mentioned an app called Kit.
For things loaded in content for header, there should be a data-loadedBy tag so we know what app is generating what.