def _proxy_extension(self, proxy_parts):
import zipfile<EOL>manifest_json = """<STR_LIT>"""<EOL>background_js = """<STR_LIT>""".format(**proxy_parts)<EOL>plugin_file = '<STR_LIT>'<EOL>with zipfile.ZipFile(plugin_file, '<STR_LIT:w>') as zp:<EOL><INDENT>zp.writestr("<STR_LIT>", manifest_json)<EOL>zp.writestr("<STR_LIT>", background_js)<EOL><DEDENT>return plugin_file<EOL>
Creates a chrome extension for the proxy
Only need to be done this way when using a proxy with auth