Skip to content

Commit 97d59d9

Browse files
authored
Script for kapa.ai update (#27)
1 parent fa97e84 commit 97d59d9

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

script.js

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
<script async
2-
src="https://widget.kapa.ai/kapa-widget.bundle.js"
3-
data-website-id="8ae12a97-484a-4704-8127-b6f17ebc6bcf"
4-
data-project-name="Unstructured"
5-
data-project-color="#0CDDF8"
6-
data-project-logo="https://raw.githubusercontent.com/Unstructured-IO/unstructured/main/img/unstructured_logo.png"
7-
></script>
1+
var script = document.createElement("script");
2+
script.src = "https://widget.kapa.ai/kapa-widget.bundle.js";
3+
script.setAttribute("data-website-id", "8ae12a97-484a-4704-8127-b6f17ebc6bcf");
4+
script.setAttribute("data-project-name", "Unstructured");
5+
script.setAttribute("data-project-color", "#0CDDF8");
6+
script.setAttribute(
7+
"data-project-logo",
8+
"https://raw.githubusercontent.com/Unstructured-IO/unstructured/main/img/unstructured_logo.png"
9+
);
10+
document.body.appendChild(script);

0 commit comments

Comments
 (0)