const squarespaceSetCanonical = document.querySelector("link[rel='canonical']"); if(squarespaceSetCanonical) { squarespaceSetCanonical.remove(); }