Difference between revisions of "HTML5 - How to start chrome without security (GetUserMedia working)"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
- 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> (replace by the required url) | ||
or without any security: | |||
- <code> sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --disable-web-security </code> |
Revision as of 20:54, 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