mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 14:14:30 +02:00
fix: Add missing refurl query to DMCA badge
This commit is contained in:
parent
a87c534039
commit
b068c38661
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user