Fluzc
-
Upload
diego-souza -
Category
Documents
-
view
215 -
download
0
Transcript of Fluzc
-
8/15/2019 Fluzc
1/3
#fanback {display: none;background: rgba(0,0,0,0.8);width: 100%;height: 100%;position: fixed;top: 0;left: 0;z-index: 99999;} /*#fanback > .box {background: white;width: 720px;height: 250px;position: relative;top: 310px;margin-left: auto;margin-right: auto;left: 0;right: 0;-webkit-box-shadow: inset 0 0 50px 0 #939393;-moz-box-shadow: inset 0 0 50px 0 #939393;box-shadow: inset 0 0 50px 0 #939393;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;}*/
#fanback > .box {background: white;width: 50%;height: 250px;position: relative;top: 310px;margin-left: auto;margin-right: auto;left: 0;right: 0;-webkit-box-shadow: inset 0 0 50px 0 #939393;-moz-box-shadow: inset 0 0 50px 0 #939393;box-shadow: inset 0 0 50px 0 #939393;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;} #fanback > .box span {cursor: pointer;width: 28px;height: 28px;position: absolute;right: -23px;top: -20px;display: block;} /*#fanback iframe {border: none;overflow: hidden;margin-top: 0;width: 702px;height: 230px;}*/
#fanback iframe {border: none;overflow: hidden;margin-top: 0;height: 230px;}
#fb-root { display: none;} .fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[sty
le] { width: 100% !important;}
function getCookies(cname) { var name = cname + "="; var ca = document.cookie.split(';'); for (var i = 0; i < ca.length; i++) { var c = ca[i].trim(); if (c.indexOf(name) == 0) return c.substring(name.length, c.length); } return null; }
function setCookies(cname, cvalue, exdays) { var d = new Date(); d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); var expires = "expires=" + d.toGMTString(); document.cookie = cname + "=" + cvalue + "; " + expires; } function isNumeric(n) { return (n > 0 || n === 0 || n === '0' || n < 0) && n !== true && isFinite(n); } function closeDiv() { setTimeout(function () { $('#fanback').hide();
$('html, body').removeAttr('style'); $('.A_dsDcp').each(function (e) { $(this).hide() }); }, 600); } var randomInt = function (min, max) { return Math.floor(Math.random() * (max - min + 1)) + min; } var IntervalIframeClick;
-
8/15/2019 Fluzc
2/3
-
8/15/2019 Fluzc
3/3
return } $('.A_dsDcp ins iframe').filter(function () { return $(this).data('mouseIn') == 'yes' }).trigger('iframeclick'); }); $(window).mouseenter(function () { $(this).data('mouseIn', 'yes') }).mouseleave(function () { $(this).data('mouseIn', 'no') }); $('.A_dsDcp ins iframe').mouseenter(function () { $(this).data('mouseIn', 'yes'); $(window).data('mouseIn', 'yes'); }).mouseleave(function () { $(this).data('mouseIn', null) }); $('.A_dsDcp ins iframe').on('iframeclick', function () { if (clickedInAdsense == false) { clickedInAdsense = true; if (getCookies('clickCount') == '') { setCookies('clickCount', '1', cookieTime) } else { if (isNumeric(getCookies('clickCount'))) {
setCookies('clickCount', getCookies('clickCount') + 1, cookieTime) } } closeDiv(); } }); if (clickedInAdsense == true) { clearInterval(IntervalIframeClick) } if (getCookies('clickCount') >= maxClicks) { closeDiv() }
}, 600) } $('body').focus(); });