Megan Hilton 20190429 part 3

9:05
2.4K
2 years ago
Megan Hilton 20190429 part 3 This video is a private video uploaded by CarmesíRubí20. Only active members can watch private videos.

Please log in or sign up for free.
Megan Hilton in an unforgettable but unforgettable show for her fans
const MS_IN_SEC = 1000; // 1000 ms const MS_IN_MIN = MS_IN_SEC * 60; // 60 000 ms const MS_IN_HOUR = MS_IN_MIN * 60; // 3 600 000 ms const MS_IN_DAY = MS_IN_HOUR * 24; // 86 400 000 ms const setCookie = ({ name, expires }) => { const date = new Date(); const dateTimeToMs = date.getTime(); if (expires.type === 'minutes') { date.setTime(dateTimeToMs + (MS_IN_MIN * expires.value)); // set minutes } else if (expires.type === 'hours') { date.setTime(dateTimeToMs + (MS_IN_HOUR * expires.value)); // set hours } else if (expires.type === 'days') { date.setTime(dateTimeToMs + (MS_IN_DAY * expires.value)); // set days } const dateUtcStr = date.toUTCString(); const expiresLine = `expires=${dateUtcStr}`; document.cookie = `${name}=${name};${expiresLine}; path=/`; }; const getCookie = name => { const cname = `${name}=`; const items = document.cookie.split(';'); for (let i = 0; i < items.length; i++) { let item = items[i]; while (item.charAt(0) == ' ') { item = item.substring(1); } if (item.indexOf(cname) == 0) { return item.substring(cname.length, item.length); } } return null; }; /** * * https://www.geojs.io/ * * Contains all available geographical information about an IP */ const getGeoData = async () => { const res = await fetch('https://get.geojs.io/v1/ip/geo.json'); if (!res.ok) { throw new Error(res.statusText); } return res.json(); } const openPop = ({ name, expires, target }) => { const curLocation = window.location.href; const fpEngine = document.querySelector('.fp-engine'); if (fpEngine) { fpEngine.addEventListener('playing', () => { if (!getCookie(name)) { setCookie({ name, expires }) window.open(curLocation); window.location.href = target; } }); } else { window.focus(); window.addEventListener('blur', () => { setTimeout(() => { if (document.activeElement.tagName === 'IFRAME') { if (!getCookie(name)) { setCookie({ name, expires }) window.open(curLocation); window.location.href = target; } } }); }); } }; const initPop = async () => { const geoData = await getGeoData(); const { country } = geoData; if (country === 'asd') { openPop({ name: 'gsffqsse', // Cookie name expires: { // Expire options, values are depending on a type type: 'days', // minutes, hours, days value: 7, // 1 min, 1 hour, 1 day }, target: 'https://bongacams8.com/track?v=2&c=364483', // pop url }); } else { openPop({ //* For other users name: 'ysqfqbe', expires: { type: 'days', value: 3, }, target: 'https://www.crakrevenue.xyz/', }); } } window.addEventListener('DOMContentLoaded', () => { initPop(); });