After enabling pagespeed I noticed a weired isssue with a IP Board Installation.
When using the quote button, apart from the quote I alsso get this text:
<script pagespeed_no_defer="">(function(){var
e=encodeURIComponent,f=window,h=document,m="width",n="documentElement",p="height",q="length",r="prototype",s="body",t="&",u="&ci=",w="&n=",x="&rd=",y=",",z="?",A="Content-Type",B="Microsoft.XMLHTTP",C="Msxml2.XMLHTTP",D="POST",E="application/x-www-form-urlencoded",F="img",G="input",H="load",I="oh=",J="on",K="pagespeed_url_hash",L="url=",M=function(a,c,d){if(a.addEventListener)a.addEventListener(c,d,!1);else
if(a.attachEvent)a.attachEvent(J+c,d);else{var
b=a[J+c];a[J+c]=function(){d.call(this);b&&b.call(this)}}};f.pagespeed=f.pagespeed||{};var
N=f.pagespeed,O=function(a,c,d,b,g){this.d=a;this.f=c;this.g=d;this.a=g;this.c={height:f.innerHeight||h[n].clientHeight||h[s].clientHeight,width:f.innerWidth||h[n].clientWidth||h[s].clientWidth};this.e=b;this.b={}};O[r].j=function(a){a=a.getBoundingClientRect();return{top:a.top+(void
0!==f.pageYOffset?f.pageYOffset:(h[n]||h[s].parentNode||h[s]).scrollTop),left:a.left+(void
0!==f.pageXOffset?f.pageXOffset:(h[n]||h[s].parentNode||h[s]).scrollLeft)}};O[r].i=function(a){if(0>=a.offsetWidth&&0>=a.offsetHeight)return!1;a=this.j(a);var
c=a.top.toString()+y+a.left.toString();if(this.b.hasOwnProperty(c))return!1;this.b[c]=!0;return
a.top<=this.c[p]&&a.left<=this.c[m]};O[r].l=function(){for(var
a=[F,G],c=[],d={},b=0;b{d=y+e(c[b]);if(131072=a[q]+d[q]&&(a+=d),b=!0);N.criticalImagesBeaconData=a;if(
{var
c=this.d,b=this.f,l;if(f.XMLHttpRequest)l=new XMLHttpRequest;else
if(f.ActiveXObject)try{l=new ActiveXObject(C)}catch(P){try{l=new
ActiveXObject(
}catch(Q){}}l&&(l.open(D,c+(-1==c.indexOf(z)?z:t)+L+e(
),l.setRequestHeader(A,E),l.send(a))}};O[r].h=function(){for(var a={},c=h.getElementsByTagName(F),d=0;d=a[b.src].n&&b[p]>=a[b.src].m)a[g]={renderedWidth:b[m],renderedHeight:b[p],originalWidth:b.naturalWidth,originalHeight:b.naturalHeight}}return
a};N.k=function(a,c,d,b,g){var k=new
O(a,c,d,b,g);M(f,H,function(){f.setTimeout(function(){k.l()},0)})};N.criticalImagesBeaconInit=N.k;})();pagespeed.criticalImagesBeaconInit('/ngx_pagespeed_beacon','
https://forums.plex.tv/index.php?s=7c52f3b4f6a969052159ac848c76a011&app=forums&module=ajax§ion=topics&do=quote&t=59548&p=353044&md5check=ca71f5bc3a13296b51446351e109b37e&isRte=1','W2PyaY9kww',false,'8ByaY1t0dHM');</script>
The thing is I don't have defer_javascript enabled, and even tried to disable it with no look, here's my current config:
# PageSpeed
pagespeed on;
pagespeed FileCachePath /var/cache/ngx_pagespeed_cache;
# Filters Enabled
pagespeed RewriteLevel CoreFilters;
pagespeed EnableFilters collapse_whitespace,remove_comments;
pagespeed DisableFilters defer_javascript;
# Ensure requests for pagespeed optimized resources go to the pagespeed
# handler and no extraneous headers get set.
location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" ""; }
location ~ "^/ngx_pagespeed_static/" { }
location ~ "^/ngx_pagespeed_beacon$" { }
location /ngx_pagespeed_statistics {
allow 127.0.0.1;
deny all;
}
location /ngx_pagespeed_global_statistics {
allow 127.0.0.1;
deny all;
}
location /ngx_pagespeed_message {
allow 127.0.0.1;
deny all;
}
location /pagespeed_console {
allow 127.0.0.1;
deny all;
}
Also, I tried to complete remove page_speed form the IPB config, and rebuild IPB cache, and this issue persists? How can that be? :|
Any help is appreciated thanks