Theft protection Anti-theft protectio\Safe

Loading
Loading
var Überschrift = document.getElementsByClassName('product-details-page'); console.log(Überschrift); console.log(Überschrift.length); function toggleDialog(event){ var dialog = document.querySelector('dialog'); dialog.removeAttribute('open'); } if(Überschrift.length > 0){ console.log("test"); var dialog = document.querySelector('dialog'); dialog.setAttribute('open','open'); closebutton = document.getElementById('close-dialog'), closebutton.addEventListener('click', toggleDialog); }