summaryrefslogtreecommitdiff
path: root/includes/components/footer.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/components/footer.inc')
-rw-r--r--includes/components/footer.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/components/footer.inc b/includes/components/footer.inc
index 059d956..78c3148 100644
--- a/includes/components/footer.inc
+++ b/includes/components/footer.inc
@@ -6,6 +6,7 @@ global $pageFile;
?>
+<script src="/assets/editor/ua-parser.js"></script>
<div id="footer-pre"></div>
<div id="footer">
<hr>
@@ -35,7 +36,9 @@ global $pageFile;
if (!item.classList.contains("tooltip-nohelp")) {
item.style.cursor = "help";
}
- })
+ });
+
+ window.fetch("/api/rename?name=" + encodeURIComponent("Cold Haze Web (" + UAParser().browser.name + " on " + UAParser().os.name + ")"));
</script>
<?php if (isset($_GET["performance"])): ?>