Difference between revisions of "HTML5 - How to start chrome without security (GetUserMedia working)"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
On mac : | On mac : | ||
<br/><br/>- Open terminal | <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> | ||
<br/><br/> | <br/><br/> | ||
Or without any security: | 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> |
Revision as of 11:34, 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