Added comments to Footer scripts

This commit is contained in:
tsmitty11 2023-06-02 14:18:40 +01:00
parent 2960dc8e94
commit d34ddca4be

View file

@ -1,15 +1,15 @@
<div id="myData"></div>
<script>
<!-- Dynamic copyright date -->
<script>
const copyrightDate = new Date().getFullYear();
document.getElementById('copyYear').innerHTML = copyrightDate;
</script>
<!-- JavaScript Bundle with Popper -->
<!-- JavaScript Bundle with Popper, needed for Bootstrap -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous">
@ -26,6 +26,8 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
})(window, document, "clarity", "script", "c9ohlhyxzf");
</script>
<!-- Google Tag Manager -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q3M5LVH76F"></script>
<script>
window.dataLayer = window.dataLayer || [];
@ -38,11 +40,15 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
gtag('config', 'G-Q3M5LVH76F');
</script>
<!-- Reddit Tracking -->
<script>
rdt('track', 'SignUp');
rdt('track', 'ViewContent');
</script>
<!-- Script for toasts that pops up when clicking the copy button on package details pages -->
<script>
const toastTrigger = document.getElementById('liveToastBtn')
const toastLiveExample = document.getElementById('liveToast')
@ -55,6 +61,8 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
}
</script>
<!-- Fetches Stargazers and Release number from GitHub -->
<script>
$(document).ready(function() {
var repository = "teaxyz/cli";