mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-23 16:19:49 -05:00
Disable web security in chromium so iframes on different domains can be accessed by behavior javascript.
This commit is contained in:
parent
80f3a4a067
commit
6a5d1e2266
@ -241,6 +241,7 @@ class Chrome:
|
||||
"--window-size=1100,900", "--no-default-browser-check",
|
||||
"--disable-first-run-ui", "--no-first-run",
|
||||
"--homepage=about:blank", "--disable-direct-npapi-requests",
|
||||
"--disable-web-security",
|
||||
"about:blank"]
|
||||
self.logger.info("running {}".format(chrome_args))
|
||||
self.chrome_process = subprocess.Popen(chrome_args, env=new_env, start_new_session=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user