mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-10 00:46:50 +00:00
deploy: 209f0a5f85
This commit is contained in:
@@ -311,6 +311,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -321,6 +321,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -579,6 +579,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -426,6 +426,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -513,6 +513,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -513,6 +513,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -317,6 +317,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -570,6 +570,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -513,6 +513,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -513,6 +513,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -513,6 +513,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -417,6 +417,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -513,6 +513,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -513,6 +513,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -317,6 +317,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -570,6 +570,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -513,6 +513,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -513,6 +513,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -513,6 +513,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -417,6 +417,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
+62
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
+62
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
+62
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
+62
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
+62
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
+62
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
+62
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -318,6 +318,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -321,6 +321,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -502,6 +502,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -321,6 +321,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
+1487
-606
File diff suppressed because one or more lines are too long
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -321,6 +321,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -579,6 +579,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -426,6 +426,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -933,6 +933,10 @@ video {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.contents {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
@@ -2107,6 +2111,11 @@ video {
|
||||
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
||||
}
|
||||
|
||||
.backdrop-filter {
|
||||
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
||||
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
||||
}
|
||||
|
||||
.transition {
|
||||
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
||||
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -321,6 +321,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -579,6 +579,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -522,6 +522,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -426,6 +426,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -321,6 +321,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
@@ -551,6 +551,68 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script>(function () {
|
||||
var VALID = /^[\w.-]{1,40}$/;
|
||||
var KEYS = ['utm_source', 'utm_campaign'];
|
||||
|
||||
function fromUrl(name) {
|
||||
var hash = new URLSearchParams(location.hash.replace(/^#\??/, '')).get(name);
|
||||
var query = new URLSearchParams(location.search).get(name);
|
||||
var value = hash != null ? hash : query;
|
||||
return value && VALID.test(value) ? value : null;
|
||||
}
|
||||
|
||||
function remember(name, value) {
|
||||
try {
|
||||
if (value) sessionStorage.setItem(name, value);
|
||||
return value || sessionStorage.getItem(name);
|
||||
} catch (e) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
var utm = {};
|
||||
KEYS.forEach(function (name) {
|
||||
var value = remember(name, fromUrl(name));
|
||||
if (value && VALID.test(value)) utm[name] = value;
|
||||
});
|
||||
|
||||
if (!utm.utm_source && !utm.utm_campaign) return;
|
||||
|
||||
function fill(name, value) {
|
||||
if (!value) return;
|
||||
document.querySelectorAll('input[name="' + name + '"]').forEach(function (input) {
|
||||
input.value = value;
|
||||
});
|
||||
}
|
||||
|
||||
function withUtm(href) {
|
||||
var url = new URL(href, location.href);
|
||||
KEYS.forEach(function (name) {
|
||||
if (utm[name]) url.searchParams.set(name, utm[name]);
|
||||
});
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
function apply() {
|
||||
fill('SOURCE', utm.utm_source);
|
||||
fill('CAMPAIGN', utm.utm_campaign);
|
||||
|
||||
if (/^\/blog(\/|$)/.test(location.pathname)) return;
|
||||
|
||||
document.querySelectorAll('a[href^="https://wefunder.com/"]').forEach(function (link) {
|
||||
link.href = withUtm(link.getAttribute('href'));
|
||||
});
|
||||
}
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', apply);
|
||||
} else {
|
||||
apply();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// switch theme
|
||||
const sunIcon = document.querySelector('.sun');
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user