This file contains hidden or 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
function saveUTMParameters() { | |
var params = Object.fromEntries(new URLSearchParams(document.location.search)); | |
// utm_campaign exists | |
if (Object(params).hasOwnProperty('utm_campaign')) { | |
var date = new Date(); | |
var expires_date = new Date(date); | |
expires_date.setMonth(date.getMonth() - 1); | |
// get current utm history or create empty array |
This file contains hidden or 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
.simple-keyboard .hg-button { position: relative; } | |
.simple-keyboard .hg-button:before { | |
background: #333; | |
border-radius: 4px; | |
box-shadow: 0 2px 10px 2px rgba(0, 0, 0, .1); | |
color: #fff; | |
font-size: 13px; | |
padding: 5px 10px; | |
position: absolute; | |
bottom: calc(100% + 10px); |
This file contains hidden or 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
function EmbedReactBuild() { | |
this.url; | |
this.dependencies; | |
this.setURL = function(url) { | |
this.url = url; | |
} | |
this.setDependencies = function(dep) { | |
this.dependencies = dep; |