chore: Merge branch dev to main (#270)

This commit is contained in:
oSumAtrIX 2024-12-06 22:28:17 +01:00 committed by GitHub
commit e9e54ce0b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
});
</script>
@ -87,7 +84,7 @@
</Query>
<!-- DMCA Protection Badge -->
<a
href="//www.dmca.com/Protection/Status.aspx?ID={RV_DMCA_GUID}"
href="//www.dmca.com/Protection/Status.aspx?ID={RV_DMCA_GUID}&refurl={location}"
title="DMCA.com Protection Status"
class="dmca-badge"
>
@ -96,8 +93,6 @@
alt="DMCA.com Protection Status"
/></a
>
<script src="https://images.dmca.com/Badges/DMCABadgeHelper.min.js">
</script>
</div>
</footer>