var elements = document.querySelectorAll('*');
// Loop through each element and replace 'http://' with 'https://'
elements.forEach(function (element) {
if (element.innerHTML) {
element.innerHTML = element.innerHTML.replace(/http:/g, 'https:');
}
if (element.src) {
element.src = element.src.replace(/http:/g, 'https:');
}
if (element.href) {
element.href = element.href.replace(/http:/g, 'https:');
}
});
-- Ha nem mentődne el a kód, kapcsold ki a védelmet a 3gadminban-->
Inserted where the ad unit is to be displayed:
-->