mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-09 06:52:46 -04: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
1 changed files with 1 additions and 0 deletions
|
@ -241,6 +241,7 @@ class Chrome:
|
||||||
"--window-size=1100,900", "--no-default-browser-check",
|
"--window-size=1100,900", "--no-default-browser-check",
|
||||||
"--disable-first-run-ui", "--no-first-run",
|
"--disable-first-run-ui", "--no-first-run",
|
||||||
"--homepage=about:blank", "--disable-direct-npapi-requests",
|
"--homepage=about:blank", "--disable-direct-npapi-requests",
|
||||||
|
"--disable-web-security",
|
||||||
"about:blank"]
|
"about:blank"]
|
||||||
self.logger.info("running {}".format(chrome_args))
|
self.logger.info("running {}".format(chrome_args))
|
||||||
self.chrome_process = subprocess.Popen(chrome_args, env=new_env, start_new_session=True)
|
self.chrome_process = subprocess.Popen(chrome_args, env=new_env, start_new_session=True)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue