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
Line 1: Line 1:
On mac :
On mac :
<br/><br/>- Open terminal<br/>
<br/><br/>- Open terminal<br/>
- <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)
(replace by the required url)
<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>
- <code> sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --disable-web-security </code>

Revision as of 11:33, 15 April 2022

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