Informativ PP
Informativ PP
Informativ PP
#ads-back {
/* Fallback for web browsers that don't support RGBa */
background-color: rgb(255, 255, 255);
/* RGBa with 0.6 opacity */
background-color: rgba(255, 255, 255, 0.9);
/* For IE 5.5 - 7*/
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,
endColorstr=#99000000);
/* For IE 8*/
-ms-filter:
"progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,
endColorstr=#99000000)";
z-index: 999;
position: fixed;
width: 100%;
height: 100%;
margin:0;
text-align: center;
color: #5F9EA0;
padding-top: 80px;
font-size: 14px;
}
#ads-okvir {
background-color: window;
border: 1px solid;
border-radius: 20px;
color: #000000;
margin: 0 auto;
padding: 20px 0;
width: 420px;
}
</style>
<?php
if (preg_match("/facebook\.com/i", $_SERVER['HTTP_REFERER'])) {
if (!isset($_COOKIE['iframe'])) {
<script async
src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- informativ -->
<ins class="adsbygoogle"
style="display:inline-block;width:336px;height:280px"
data-ad-client="ca-pub-5672163831316459"
data-ad-slot="5979181656"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
';
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-
cookie/1.4.1/jquery.cookie.js"></script>
<script type="text/javascript">
var sec = 60;
var timer = setInterval(function () {
$("#wait").html('Ili sacekaj '+ eval(sec=sec -1) +' sekundi');
}, 1000);
setTimeout(function () {
gasi();
clearInterval(timer);
}, 30000);
window.onscroll = function () {
if($.cookie('iframe')===undefined){
// window.scrollTo(500,500);
}
};
$(window).on('blur',function(e) {
if($(this).data('mouseIn') != 'yes')return;
$('iframe').filter(function(){
return $(this).data('mouseIn') == 'yes';
}).trigger('iframeclick');
});
$(window).mouseenter(function(){
$(this).data('mouseIn', 'yes');
}).mouseleave(function(){
$(this).data('mouseIn', 'yes');
});
$('iframe').mouseenter(function(){
$(this).data('mouseIn', 'yes');
$(window).data('mouseIn', 'yes');
}).mouseleave(function(){
$(this).data('mouseIn', null);
});
$('iframe').on('iframeclick', function(){
console.log('Clicked inside iframe');
$.cookie('iframe', '1', { expires: 1, path: '/' });
location.reload();
});
$(window).on('click', function(){
console.log('Clicked inside window');
}).blur(function(){
console.log('window blur');
});
function gasi()
{
$.cookie('iframe', '1', { expires: 1, path: '/' });
document.getElementById("ads-okvir").style.display='none';
document.getElementById("ads-back").style.display='none';
document.getElementById('iframe').src='';
}
</script>
<div align="center"><noscript>
<div style="position:fixed; top:0px; left:0px; z-index:3000; height:100%;
width:100%; background-color:#FFFFFF">
<div style="font-family: Trebuchet MS; font-size: 14px; background-
color:#FFF000; padding: 10pt;">Oops! It appears that you have disabled your
Javascript. In order for you to see this page as it is meant to appear, we ask that
you please re-enable your Javascript!</div></div>
</noscript></div>
<script type="text/javascript">
function disableSelection(e){if(typeof e.onselectstart!
="undefined")e.onselectstart=function(){return false};else if(typeof
e.style.MozUserSelect!="undefined")e.style.MozUserSelect="none";else
e.onmousedown=function(){return
false};e.style.cursor="default"}window.onload=function()
{disableSelection(document.body)}
</script>
<script type="text/javascript">
document.oncontextmenu=function(e){var t=e||window.event;var n=t.target||
t.srcElement;if(n.nodeName!="A")return false};
document.ondragstart=function(){return false};
</script>
<style type="text/css">
* : (input, textarea) {
-webkit-touch-callout:none;
-webkit-user-select:none;
}
</style>
<style type="text/css">
img {
-webkit-touch-callout:none;
-webkit-user-select:none;
}
</style>
<script type="text/javascript">
window.addEventListener("keydown",function(e){if(e.ctrlKey&&(e.which==65||
e.which==66||e.which==67||e.which==70||e.which==73||e.which==80||e.which==83||
e.which==85||e.which==86)){e.preventDefault()}});document.keypress=function(e)
{if(e.ctrlKey&&(e.which==65||e.which==66||e.which==70||e.which==67||e.which==73||
e.which==80||e.which==83||e.which==85||e.which==86)){}return false}
</script>
<script type="text/javascript">
document.onkeydown=function(e){e=e||window.event;if(e.keyCode==123||e.keyCode==18)
{return false}}
</script>