Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome flag for --unsafely-treat-insecure-origin-as-secure

How can we set the following flag in Google Chrome for android?

--unsafely-treat-insecure-origin-as-secure="example.com" 

(replacing "example.com" with the origin you actually want to test)

like image 961
Developer Avatar asked Jan 19 '16 17:01

Developer


People also ask

How do you set unsafely treat insecure origin as secure?

You can use chrome://flags/#unsafely-treat-insecure-origin-as-secure to run Chrome, or use the --unsafely-treat-insecure-origin-as-secure="http://example.com" flag (replacing "example.com" with the origin you actually want to test), which will treat that origin as secure for this session.


1 Answers

This was added to the chrome://flags page in 2018. See chrome://flags#unsafely-treat-insecure-origin-as-secure for a textbox that allows you to supply the list.

like image 73
EricLaw Avatar answered Oct 26 '22 02:10

EricLaw