if (curProtocol === 'https') { var s = document.getElementsByTagName("script")[0]; })(); } }