Skip to content

Instantly share code, notes, and snippets.

View aseredenko's full-sized avatar
💪

Alexander Seredenko aseredenko

💪
View GitHub Profile
var vm = this;
axios.get(endpoints.offers, {
emulateJSON: true,
params: lead
}).then(function (response) {
vm.offersLoaded = true;
if (!!response.data.results.length) {
vm.results = response.data.results;
}
<!-- Preloading images -->
<script>
var images = [];
function preload() {
for (var i = 0; i < arguments.length; i++) {
images[i] = new Image();
images[i].src = preload.arguments[i];
}
}
<!-- Preloading images -->
<script>
var images = [];
function preload() {
for (var i = 0; i < arguments.length; i++) {
images[i] = new Image();
images[i].src = preload.arguments[i];
}
}
-----BEGIN CERTIFICATE-----
--- TODO: Paste your generated crt here
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUim7bo3yMBzANBgkqhkiG9w0BAQwFADCB
hTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNV
BAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQwMjEy
MDAwMDAwWhcNMjkwMjExMjM1OTU5WjCBkDELMAkGA1UEBhMCR0IxGzAZBgNVBAgT
<div class="abdn-popup-bg" id="abdn-popup">
<div class="abdn-popup-container"></div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.min.js"></script>
<script>
var device = '{{ device }}';
const appMP = !!'{{ MP }}';
if (localStorage.getItem("showAbdn") === 'yes' && localStorage.getItem("abdnShown") !== 'yes' && device === 'mobile') {
axios.get('https://services.trackingmax.com/abandonment', {
params: {
site: 'homesecurityhunter.com',
<noscript id="deferred-styles">
<link rel="stylesheet" type="text/css" href="small.css"/>
</noscript>
<script>
var loadDeferredStyles = function() {
var addStylesNode = document.getElementById("deferred-styles");
var replacement = document.createElement("div");
replacement.innerHTML = addStylesNode.textContent;
document.body.appendChild(replacement);
addStylesNode.parentElement.removeChild(addStylesNode);
function gup( name, url ) {
if (!url) url = location.href;
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( url );
return results == null ? null : results[1];
}
<script>
var ABDN_DATA = {'site': 'sitename.com'}
</script>
<script src="https://exit.trackingmax.com/js/abdn.js?v=2"></script>
(function(){
var $element = $('#number');
function increment(){
var currentValue = $element.html(); // Get string contains in our element
currentValue = parseInt(currentValue); // Make integer from string
$element.html(currentValue++);
}
function decrement(){