便民工具
var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') {