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

From GUILLARD WIKI
Jump to navigation Jump to search
Tag: Manual revert
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
On mac :
On mac :
<br/><br/>- Open terminal<br/>
<br/><br/>- Open terminal (replace by the required url into the command)
- <code>/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --unsafely-treat-as-secure="http://localhost:8000"</code>
<syntaxhighlight lang="linux">/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --unsafely-treat-as-secure="http://localhost:8000"</syntaxhighlight>  
<br/>(replace by the required url)
- Or without any security:
<br/><br/>
<syntaxhighlight lang="linux"> sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --disable-web-security </syntaxhighlight>
Or without any security:
 
- <code> sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --disable-web-security </code>

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