tomaskovacik User

var wrapper = document.querySelector('.product-action-main'); //old style page
if (wrapper == null ) wrapper = document.querySelector('.product-action'); //new style page
if( wrapper !== null ) wrapper.insertAdjacentHTML('beforeend', copyButton);