• Hi, when i use this plugin, the PageSpeed Tool shows error “Does not use passive listeners to improve scrolling performance”. If i add the following script in head, the problem is solved, but the plugin doesn’t show “Success message” after subscribed.

    <script type="text/javascript">(function(){var a=c();if(a){var b=EventTarget.prototype.addEventListener;d(b)}function d(e){var f={passive:true,capture:false};EventTarget.prototype.addEventListener=function(j,k,i){var h=typeof i==="object";var g=h?i.capture:i;i=h?i:{};i.passive=i.passive!==undefined?i.passive:f.passive;i.capture=g!==undefined?g:f.capture;e.call(this,j,k,i)}}function c(){var f=false;try{var g=Object.defineProperty({},"passive",{get:function(){f=true}});window.addEventListener("test",null,g)}catch(h){}return f}})();</script>

    Can you fix the passive listeners problem? Thanks ?? This plugin is fantastic!

  • The topic ‘Passive listeners alert’ is closed to new replies.