Skip to content

Commit

Permalink
[Docs] Remove Drift chat bot (#23802)
Browse files Browse the repository at this point in the history
* Remove Drift chat bot

* Remove drift param

* Add clearbit header
  • Loading branch information
samiahmedsiddiqui authored Sep 5, 2024
1 parent dcf1821 commit 0ac22cd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 32 deletions.
1 change: 0 additions & 1 deletion docs/config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ description = "YugabyteDB, the transactional, high-performance database for buil
copyright = "Yugabyte, Inc."
privacy_policy = "https://www.yugabyte.com/privacy-policy/"
kapa_ai = true
drift_snippet = true
search_banner = false
version_menu = "Releases"

Expand Down
28 changes: 0 additions & 28 deletions docs/layouts/partials/hooks/head-end.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,32 +52,4 @@
</script>
{{- end -}}

{{- if .Site.Params.drift_snippet -}}
<script>
!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('9fp5c8x3476g');
</script>
{{- end -}}

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-mfizz/2.4.1/font-mfizz.min.css">
3 changes: 0 additions & 3 deletions docs/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,6 @@
https://www.googletagmanager.com/
https://www.gstatic.com/recaptcha/
https://x.clearbitjs.com
https://js.driftt.com/
https://cdn.segment.com/
https://j.6sc.co/
https://cdn.rudderlabs.com/
Expand Down Expand Up @@ -1429,7 +1428,6 @@
https://app.supademo.com/
https://www.google.com/
https://www.youtube.com/
https://js.driftt.com/
;
frame-ancestors 'self'
Expand All @@ -1439,7 +1437,6 @@
;
media-src 'self' 'unsafe-inline'
https://js.driftt.com/conductor/assets/
;
'''
X-Content-Type-Options = "nosniff"
Expand Down

0 comments on commit 0ac22cd

Please sign in to comment.