Well, this means your site has javascript that loads cloudflare.min.js (the “parser-blocking cross-origin script) in a non-optimal manner (the “document.write”). As AO simple aggregates all JS in your site, you’ll have to look for the original script doing the document.write. For tthat purpose you can disable AO on a per-request basis by adding ?ao_noptimize=1 to your URL and checking your google chrome dev tool again.
the JQMigrate message is just jQuery migrate confirming it is loaded, this is perfectly normal.
hope this clarifies,
frank
Hi Frank
Thanks for the answer – it sounds like clodflare is doing something weird.
Your plugin is still awesome 😉
THanks!
Sorry for hijacking an old thread.
Recently I switched my DNS to CloudFlare. Now on Chrome, I am unable to add products to the cart. Found this in Chrome developer console.
A Parser-blocking, cross-origin script, https://ajax.cloudflare.com/cdn-cgi/nexp/dok3v=088620b277/cloudflare.min.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. See https://www.chromestatus.com/feature/5718547946799104 for more details.
Things are fine with FireFox.
Do we have any fix for this?
are you using autoptimize mayasl? can you share your URL?
I installed AutoOptimize and uninstalled now.
URL : qtari.com
well, the warning is no reason to uninstall AO, as the document.write is in the cloudflare code itself;
//<![CDATA[
try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:1480765377,byc:0,owlid:"cf",bag2:1,mirage2:0,oracle:0,paths:{cloudflare:"/cdn-cgi/nexp/dok3v=1613a3a185/"},atok:"416e3148188f9cb365dd1fed35e9aab9",petok:"753a25d8710633874a9a60a281a064c1556d48ba-1480785584-1800",zone:"qtari.com",rocket:"a",apps:{}}];document.write('<script type="text/javascript" src="//ajax.cloudflare.com/cdn-cgi/nexp/dok3v=088620b277/cloudflare.min.js"><'+'\/script>');}}catch(e){};
//]]>
so if this is an issue, you might want to take it up with the cloudflare team?
frank
I had the same error on a woocommerce checkout page and simply disabled Rocket Loader in Cloudflare. The issue disappeared.