diff --git a/main.js b/main.js index 24ca49ca..60cdf16c 100644 --- a/main.js +++ b/main.js @@ -21,11 +21,6 @@ window.iitcBuildDate = '@@BUILDDATE@@'; // disable vanilla JS window.onload = function() {}; -if(window.location.protocol !== 'https:') { - var redir = window.location.href.replace(/^http:/, 'https:'); - window.location = redir; - throw('Need to load HTTPS version.'); -} // rescue user data from original page var scr = document.getElementsByTagName('script');