Disable Leo or Web3 by editing JSON

Hi I’m on brave!
I’m looking for either guide, manuals or link to the information about HOWTO remove completely or disable code running for module Leo by editing some JSON files.
The same idea is about module Web3.
I never use them and want to remove from instance of the excellent brave!