Skip to content

Commit

Permalink
Update footer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
haron1100 committed Sep 18, 2024
1 parent 73833ba commit bc351bc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions footer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

function uuidv4() {
return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, c =>
(c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16)
Expand Down Expand Up @@ -707,7 +707,8 @@ function uuidv4() {
}

async function injectSkbTypeform() {

let form_container = document.querySelector(".bootcamp-eligibility-typeform-container");

setTimeout(()=>{
form_container.innerHTML += `<div data-tf-live="01J4KEYWGD71WMDM2E8HEV3YQR" data-tf-hidden="sid=${window.aiCoreParams.sid},country=${window.aiCoreParams.country}"></div>`
var s = document.createElement( 'script' );
Expand All @@ -717,7 +718,7 @@ function uuidv4() {
}

async function injectAfaTypeform() {

let form_container = document.querySelector(".afa-typeform-container");
setTimeout(()=>{
form_container.innerHTML += `<div data-tf-live="01J6VM8RNPARBGTGAVECYDJ3PS" data-tf-hidden="sid=${window.aiCoreParams.sid},country=${window.aiCoreParams.country}"></div>`
var s = document.createElement( 'script' );
Expand Down

0 comments on commit bc351bc

Please sign in to comment.