JavaScript Jak wiedzieć, czy strona jest bezpieczna
if (location.protocol === 'https:') {
// page is secure
}
DCmax1k
if (location.protocol === 'https:') {
// page is secure
}