Don’t have IE11 myself so can’t test, but what JS error(s) do you see on the browser console when AO JS opt. is active?
Thread Starter
ninowi
(@ninowi)
Thanks for the quick reply.
I found 3 errors in that order when trying to load home:
SCRIPT438: Object doesn’t support property or method ‘append’
http://www.vild-shop.com (400,6)
SCRIPT1002: Syntax error
http://www.vild-shop.com (1805,123)
SCRIPT1002: Syntax error
autoptimize_327e2fe159dd2d6f4aa7fd96d82732ec.js (60,170)
OK, that last one
SCRIPT1002: Syntax error autoptimize_327e2fe159dd2d6f4aa7fd96d82732ec.js (60,170)
if you click on it, what JavaScript code do you see exactly?
Thread Starter
ninowi
(@ninowi)
It highlights the following code:
return;}}else{var settings=tryParseJson(e.data);if(settings){if(settings.trustboxes){var p=document.createElement(“script”);p.type=”text/javascript”;p.onload=function(){const iFrame=e.source.parent.document.getElementById(‘configuration_iframe’).contentWindow;TrustpilotPreview.init([trustpilot_settings[‘PreviewCssUrl’],trustpilot_settings[‘PreviewWPCssUrl’]],settings,iFrame,e.source);};p.src=trustpilot_settings[‘PreviewScriptUrl’];document.head.appendChild(p);}}
Thread Starter
ninowi
(@ninowi)
Seems to be my TrustPilot Plugin. How do I find the name of the JS, which needs to be excluded in the AO settings?
go to your site with ?ao_noptimize=1 appended to the URL (which disables AO for that request) and do a “view source” of that page. chances are adding just trustpilot
to the comma-separated JS opt. exclusion list is enough to fix your woos π
Thread Starter
ninowi
(@ninowi)
Adding trustpilot to the exclusion list solved it.
Thank you! π