<link rel="stylesheet" rev="stylesheet" href="/media/js/avgrund/avgrund.css" type="text/css" media="all" />
<style>

.adBlockTipContainer{display:none;}
.reveal-modal{font-size:12px; text-align:center; }
.reveal-modal h1{font-size:14px; margin:4px 0px;}

</style>
<script type="text/javascript">
var adblock=function(){"use strict";var t={},e=function(){var t=document.createElement("div");return t.id="adcontent",document.body.appendChild(t),t};return t.check=function(t,n){var o=e();setTimeout(function(){var e=0===o.offsetLeft&&0===o.offsetTop;t(e)},n||1e3)},t}();
</script>
<script src="/media/js/avgrund/jquery.avgrund.min.js"></script>

<div class="adBlockTipContainer">
<div id="adBlockTip" class="reveal-modal">

<h1 class="uk-text-center">(┯_┯)广告君被屏蔽了~~~</h1>
<div class="uk-text-center">
    <div class="uk-margin-top uk-margin-bottom">
        <p>
            感谢您的支持,请按照如下步骤取消屏蔽ABBAO的广告(<a target="_blank" style="text-decoration:underline;color:#0568b2;" href="/adblock">详细步骤</a>):
        </p>
        <p>
            <img src="/media/style_v2/images/adblock.jpg" />
        </p>
    </div>
    <div class="">
        <button class="uk-button uk-button-primary" type="button" onclick="window.location.reload();">我取消屏蔽了</button>
    </div>
</div>

</div>
</div>

<script type="text/javascript">

adblock.check(function (active) {
    console.log(active);
    if (active) {
       $(document).avgrund({
            width: 480, 
            height: 380, 
            openOnEvent: false,
            showClose: false,
            closeByEscape: false, 
            closeByDocument: false, 
            template: $('#adBlockTip')
        });
    }
}, 500);

</script>

标签: none

添加新评论