This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
document.addEventListener("DOMContentLoaded", function() { | |
const recordId = getUrlParam('recordId'); | |
console.log(recordId); | |
function getUrlParam(name) { | |
const url = new URL(window.location.href); | |
let param; | |
for (var key of url.searchParams.keys()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
document.addEventListener("DOMContentLoaded", function() { | |
const jwtToken = getCookie('jwtToken'); | |
setCookie('jwtToken', jwtToken, 30); | |
function setCookie(name, value, minutes) { | |
var date = new Date(); | |
date.setTime(date.getTime() + (minutes * 60 * 1000)); | |
var expires = "expires="+ date.toUTCString(); | |
document.cookie = name + "=" + value + ";" + expires + ";path=/;" + "SameSite=None; Secure"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="pricing-table"> | |
<div class="pricing-header d-flex flex-wrap align-items-center"> | |
<div class="column--first table-name"> | |
<div class="pricing-title sw-pricing-title--big sw-font-family-default">Features</div> | |
</div> | |
<div class="sw-pricing-column sw-font-family-default"> | |
<div class="pricing-title">Free</div> | |
</div> | |
<div class="sw-pricing-column sw-font-family-default"> | |
<div class="pricing-title">Starter</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
document.addEventListener("DOMContentLoaded", function() { | |
setInterval(function() { | |
const telNumebers = $('.js-list-item a:contains("Url label")'); | |
telNumebers.each(function(){ | |
const number = $(this).attr('href'); | |
if(number == 'tel:') { | |
$(this).css('display', 'none'); | |
} else { | |
$(this).html(number.replace('tel:', '')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
document.addEventListener("DOMContentLoaded", function() { | |
const pageId = 'c677b3ed-03d1-462a-a1b4-c78bd71bb8e3'; | |
const applicationId = '8d4648c7-85ec-4901-bb16-a1d99e6f7b9e'; | |
const baseId = 'appbQWhGxkZUzMwzP'; | |
const candidatesTableName = 'Candidature(s)'; | |
const votesTableName = 'Votes'; | |
const votesUrl = 'https://' + window.location.hostname + '/v1/integrations/airtable/' + applicationId + '/' + baseId + '/' + votesTableName + '/records/new'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
document.addEventListener("DOMContentLoaded", function () { | |
let recordId = getUrlParam('recordId'); | |
var exitCondition = setInterval(function() { | |
$('a').each(function() { | |
if($(this).attr('href') && $(this).attr('href').endsWith('{URL_PARAM:recordId}')) { | |
const url = $(this).attr('href').replace('{URL_PARAM:recordId}', recordId); | |
$(this).attr('href', url); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
document.addEventListener("DOMContentLoaded", function() { | |
$('#sw-form-capture-submit-btn').unbind('click'); | |
$('#sw-form-capture-submit-btn').click(function(event){ | |
disableButtonClick(); | |
sendToAWS(); | |
}); | |
function sendToAWS() { |
OlderNewer