From 6d44d468989bd8058b8a01ed0beb772fc1bfede0 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 13 Mar 2018 11:33:32 +0100 Subject: [PATCH] warn if using https --- src/app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app.js b/src/app.js index c456823146..c27b787f52 100644 --- a/src/app.js +++ b/src/app.js @@ -224,6 +224,10 @@ This instance of Remix you are visiting WILL NOT BE UPDATED.\n Please make a backup of your contracts and start using http://remix.ethereum.org`) } + if (window.location.protocol.indexOf('https') === 0) { + toolTip('You are using an `https` connection. Please switch to `http` if you are using Remix against an `http Web3 provider` or allow Mixed Content in your browser.') + } + function importExternal (url, cb) { handleImports.import(url, (loadingMsg) => {