We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8263c3f commit 452c4b6Copy full SHA for 452c4b6
src/widget.js
@@ -2,6 +2,12 @@ const dropArea = document.querySelector(".blst-drag-area"),
2
dragText = dropArea.querySelector(".blst-title"),
3
button = dropArea.querySelector(".blst-button"),
4
input = dropArea.querySelector(".blst-input");
5
+
6
+const example = document.querySelector("#example_href");
7
+if (example) {
8
+ example.href = `https://www.blstsecurity.com/ScanSwagger/6209ab14-089e-4108-8bb2-5b22deab9751?tab=Summary&promo=${document.getElementById("cyRefcode").attributes['data-ref'].value || 'blst'}&domain=${document.location.origin}`
9
+}
10
11
let blstFile; //this is a global variable and we'll use it inside multiple functions
12
13
input.addEventListener("change", (event) => {
0 commit comments