Skip to content

Commit

Permalink
Attempt to load custom JS
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Jun 23, 2021
1 parent 41eacdf commit 82974bc
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .upptimerc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,32 @@ status-website:
name: TonicPow Status
introTitle: "**System Status**"
introMessage: View the live TonicPow network uptime, incidents and planned maintenance.
customHeadHtml: "<!-- Custom HTML to add in the <head> tag -->"
customHeadHtml: '
<script>
"use strict";
!function() {
var t = window.driftt = window.drift = window.driftt || [];
if (!t.init) {
if (t.invoked) return void (window.console && console.error && console.error("Drift snippet included twice."));
t.invoked = !0, t.methods = [ "identify", "config", "track", "reset", "debug", "show", "ping", "page", "hide", "off", "on" ],
t.factory = function(e) {
return function() {
var n = Array.prototype.slice.call(arguments);
return n.unshift(e), t.push(n), t;
};
}, t.methods.forEach(function(e) {
t[e] = t.factory(e);
}), t.load = function(t) {
var e = 3e5, n = Math.ceil(new Date() / e) * e, o = document.createElement("script");
o.type = "text/javascript", o.async = !0, o.crossorigin = "anonymous", o.src = "https://js.driftt.com/include/" + n + "/" + t + ".js";
var i = document.getElementsByTagName("script")[0];
i.parentNode.insertBefore(o, i);
};
}
}();
drift.SNIPPET_VERSION = "0.3.1";
drift.load("ahmbhf2mwf2b");
</script>'
customBodyHtml: "<!-- Custom HTML to add at the beginning of <body> -->"
navbar:
- title: Status
Expand All @@ -65,4 +90,4 @@ status-website:

# Internationalization
i18n:
footer: Back to [TonicPow](https://tonicpow.com)
footer: © 2021 [TonicPow](https://tonicpow.com), Inc. All rights reserved.

0 comments on commit 82974bc

Please sign in to comment.