Difference between revisions of "HTML5 - How to start chrome without security (GetUserMedia working)"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
<br/><br/>- Open terminal (replace by the required url into the command) | <br/><br/>- Open terminal (replace by the required url into the command) | ||
<syntaxhighlight lang="linux">/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --unsafely-treat-as-secure="http://localhost:8000"</syntaxhighlight> | <syntaxhighlight lang="linux">/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --unsafely-treat-as-secure="http://localhost:8000"</syntaxhighlight> | ||
- Or without any security: | |||
<syntaxhighlight lang="linux"> sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --disable-web-security </syntaxhighlight> | <syntaxhighlight lang="linux"> sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --disable-web-security </syntaxhighlight> |
Latest revision as of 11:35, 15 April 2022
On mac :
- Open terminal (replace by the required url into the command)
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --unsafely-treat-as-secure="http://localhost:8000"
- Or without any security:
sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --disable-web-security