Disable Warning you are using unsupported command line flag

2,386 views
Skip to first unread message

Azeem Haider

unread,
Oct 7, 2017, 5:13:21 PM10/7/17
to Chromium-discuss
I'm trying to run the Api Explorer in LocalHost But it always show the Error The API you are exploring is hosted over HTTP, which can cause problems.

So I follow the instruction

Go to File Explorer then paste this to address bar >> C:\Program Files (x86)\Google\Chrome\Application (or just go to where you can find your chrome.exe)

Right click chrome.exe > send to > Desktop (Create Shortcut)
Go to your desktop then find the chrome shortcut you've created.
Rename it to ChromeForTesting (this step is optional)
Right click the shortcut, then Click Properties
At the "Target", paste the following at the end of the link
--user-data-dir=test --unsafely-treat-insecure-origin-as-secure=http://localhost:8080
so Target should look somewhat similar to this

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir=test --unsafely-treat-insecure-origin-as-secure=http://localhost:8080
Click Ok..
During testing close all of your opened google chrome browser. Then double click ChromeForTesting shortcut (the one you've created), when a prompt appears, just click ok..
But After compelting this When I run that shortcut it will give the error  you are using unsupported command line flag --user-data-dir=test --unsafely-treat-insecure-origin-as-secure=http://localhost:8080

I also try to click load unsafe script but this is also not working.

Here is screen shot.
https://i.stack.imgur.com/r5jZJ.png

PhistucK

unread,
Oct 7, 2017, 5:21:10 PM10/7/17
to Azeem Haider, Chromium-discuss
You cannot disable that warning.


PhistucK

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.

Reply all
Reply to author
Forward
0 new messages