File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 13
13
14
14
const aboutQuery = createQuery ([' about' ], queries .about );
15
15
16
+ let location: string ;
17
+
16
18
onMount (() => {
17
19
// DMCA Protection Badge
18
- var c = document .createElement (' link' );
19
- c .type = ' text/css' ;
20
- c .rel = ' stylesheet' ;
21
- c .href = ' https://images.dmca.com/badges/dmca.css?ID=' + RV_DMCA_GUID ;
22
- var h = document .getElementsByTagName (' head' )[0 ];
23
- h .appendChild (c );
20
+ location = document .location .href ;
24
21
});
25
22
</script >
26
23
87
84
</Query >
88
85
<!-- DMCA Protection Badge -->
89
86
<a
90
- href ="//www.dmca.com/Protection/Status.aspx?ID= {RV_DMCA_GUID }"
87
+ href ="//www.dmca.com/Protection/Status.aspx?ID= {RV_DMCA_GUID }&refurl= { location } "
91
88
title =" DMCA.com Protection Status"
92
89
class =" dmca-badge"
93
90
>
96
93
alt =" DMCA.com Protection Status"
97
94
/></a
98
95
>
99
- <script src =" https://images.dmca.com/Badges/DMCABadgeHelper.min.js" >
100
- </script >
101
96
</div >
102
97
</footer >
103
98
You can’t perform that action at this time.
0 commit comments