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

From GUILLARD WIKI
Jump to navigation Jump to search
Line 4: Line 4:
- <code>/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --unsafely-treat-as-secure="http://localhost:8000"</code>  
- <code>/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --unsafely-treat-as-secure="http://localhost:8000"</code>  
<br/>(replace by the required url)
<br/>(replace by the required url)
 
<br/><br/>
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