Mitmproxy Type l and paste the following filter. It will remove all html specfic elements from a capture session. !(~ts "application/javascript") !(~ts "text/javascript") !(~ts "text/css") !(~ts "image/*") !(~ts "application/vnd.google.safebrowsing-*")