HP OLD script backup

<script>
var ua = window.navigator.userAgent;
var msie = ua.indexOf('MSIE ');
var trident = ua.indexOf('Trident/');
if(msie > 0 || trident > 0){
alert("Internet Explorer není podporovaný prohlížeč, prosím využijte moderní alternativu, Google Chrome, atd. Děkujeme za pochopení.");
};

var main_page_banners = '<div id="kn_banners"><div class="aspect-ratio-box kn_child24"><div class="aspect-ratio-box-inside"><div class="flexbox-centering"><div class="viewport-sizing">CBD krémy proti vráskám</div><a href="https://www.moiaelixirs.com/cbd-kremy-proti-vraskam/">&nbsp;</a></div></div></div><div class="aspect-ratio-box kn_child14"><div class="aspect-ratio-box-inside"><div class="flexbox-centering"><div class="viewport-sizing">CBD kapky</div><a href="https://www.moiaelixirs.com/cbd-kapky/">&nbsp;</a></div></div></div><div class="aspect-ratio-box kn_child14"><div class="aspect-ratio-box-inside"><div class="flexbox-centering"><div class="viewport-sizing">Péče o problematickou pleť</div><a href="https://www.moiaelixirs.com/pece-o-problematickou-plet/">&nbsp;</a></div></div></div><div class="aspect-ratio-box kn_child24"><div class="aspect-ratio-box-inside"><div class="flexbox-centering"><div class="viewport-sizing">Přírodní oleje s CBD</div><a href="https://www.moiaelixirs.com/cbd-pletove-oleje/">&nbsp;</a></div></div></div><div class="aspect-ratio-box kn_child14"><div class="aspect-ratio-box-inside"><div class="flexbox-centering"><div class="viewport-sizing">Lajka</div><a href="https://www.moiaelixirs.com/lajka/">&nbsp;</a></div></div></div><div class="aspect-ratio-box kn_child14"><div class="aspect-ratio-box-inside"><div class="flexbox-centering"><div class="viewport-sizing">O CBD</div><a href="https://www.moiaelixirs.com/o-cbd/">&nbsp;</a></div></div></div></div>';
$(main_page_banners).insertAfter('body.type-index #header');
</script>

ENGCZE