diff --git a/src/layout/Footer/FooterHost.svelte b/src/layout/Footer/FooterHost.svelte index 62d4061..1702f55 100644 --- a/src/layout/Footer/FooterHost.svelte +++ b/src/layout/Footer/FooterHost.svelte @@ -13,14 +13,11 @@ const aboutQuery = createQuery(['about'], queries.about); + let location: string; + onMount(() => { // DMCA Protection Badge - var c = document.createElement('link'); - c.type = 'text/css'; - c.rel = 'stylesheet'; - c.href = 'https://images.dmca.com/badges/dmca.css?ID=' + RV_DMCA_GUID; - var h = document.getElementsByTagName('head')[0]; - h.appendChild(c); + location = document.location.href; }); @@ -87,7 +84,7 @@ @@ -96,8 +93,6 @@ alt="DMCA.com Protection Status" /> -