Difference between revisions of "HTML5 - How to start chrome without security (GetUserMedia working)"

From GUILLARD WIKI
Jump to navigation Jump to search
Line 2: Line 2:


- Open terminal<br/>
- Open terminal<br/>
- <code>/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --unsafely-treat-as-secure="http://localhost:8000"</code> (replace by the required url)
- <code>/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --unsafely-treat-as-secure="http://localhost:8000"</code>
<br/>(replace by the required url)


or without any security:
or without any security:


- <code> sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --disable-web-security </code>
- <code> sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --disable-web-security </code>

Revision as of 20:55, 5 September 2018

On mac:

- Open terminal
- /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --unsafely-treat-as-secure="http://localhost:8000"
(replace by the required url)

or without any security:

- sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --disable-web-security