Sha256: d77e5fa6a8f4779883e716dadca74dc4a1275fb5f19ffcd2e1bc88d565124619

Contents?: true

Size: 1.97 KB

Versions: 3

Compression:

Stored size: 1.97 KB

Contents

{% if page.url != '/' %}
{% if jekyll.environment == 'production' and site.profitablecpmgateId %}
<script>
    const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
    eventList.forEach(function (event) {
        window.addEventListener(event, triggerScripts, { passive: true })
    });

    function triggerScripts() {
        runScripts();
        eventList.forEach(function (event) {
            window.removeEventListener(event, triggerScripts, { passive: true });
        });
    }

    function runScripts() {
        document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
            scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
        });
    }
</script>
<script type="text/javascript" delay="/assets/js/append-div.js"></script>
<script async="async" type="text/javascript" data-cfasync="false"
    delay="//pl17448257.profitablecpmgate.com/{{site.profitablecpmgateId}}/invoke.js"></script>
{% endif %}

{% if jekyll.environment == 'development' and site.profitablecpmgateId %}
<script>
    const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
    eventList.forEach(function (event) {
        window.addEventListener(event, triggerScripts, { passive: true })
    });

    function triggerScripts() {
        runScripts();
        eventList.forEach(function (event) {
            window.removeEventListener(event, triggerScripts, { passive: true });
        });
    }

    function runScripts() {
        document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
            scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
        });
    }
</script>
<script type="text/javascript" delay="/assets/js/append-div.js"></script>
<script async="async" type="text/javascript" data-cfasync="false"
    delay="//pl17448257.profitablecpmgate.com/{{site.profitablecpmgateId}}/invoke.js"></script>

{% endif %}
{% endif %}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
appscms-tools-theme-2.1.0 _includes/monumetric/profitablecpmgate.html
appscms-tools-theme-2.0.9 _includes/monumetric/profitablecpmgate.html
appscms-tools-theme-2.0.8 _includes/monumetric/profitablecpmgate.html