I know how to make a Chrome extension, but so far I never tried to modify non-HTML content.
I need to modify JSON files that are part of the HTTP tra