// We MUST also check if protocols matched: cannot send from HTTP
// to HTTPS and vice versa.
if (RegExp.$1.toLowerCase() != document.location.protocol + '//' + document.location.hostname.toLowerCase()) {
// We MUST also check if protocols matched: cannot send from HTTP
// to HTTPS and vice versa.
if (RegExp.$1.toLowerCase() != document.location.protocol + '//' + document.location.hostname.toLowerCase()) {