document.onload = function(){ arr = document.getElementsByTagName("img"); for(var i = 0; i < arr.length; i++){ arr[i].setAttribute('src',arr[i].getAttribute('src').replace('http:', 'https:')); } }

No data