if (location.protocol == 'http:' && location.href != "https://multiup.io/en/login") location.href = location.href.replace(/^http:/, 'https:');