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 1313
1414 const aboutQuery = createQuery ([' about' ], queries .about );
1515
16+ let location: string ;
17+
1618 onMount (() => {
1719 // 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 ;
2421 });
2522 </script >
2623
8784 </Query >
8885 <!-- DMCA Protection Badge -->
8986 <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 } "
9188 title =" DMCA.com Protection Status"
9289 class =" dmca-badge"
9390 >
9693 alt =" DMCA.com Protection Status"
9794 /></a
9895 >
99- <script src =" https://images.dmca.com/Badges/DMCABadgeHelper.min.js" >
100- </script >
10196 </div >
10297</footer >
10398
You can’t perform that action at this time.
0 commit comments