Legacy JavaScript on pagespeed.web.dev
Paul Murray
on pagespeed.web.dev cookiescript lowers my pagescore as it tells me Avoid serving legacy JavaScript to modern browsers and Legacy JavaScript. Would be great to have this fixed thanks
Bq Check
thanks janis but Im a developer and need to get higher page speeds to show my clients and this reduces the score
Jānis Elmeris
It's just 27KB of extra code which doesn't do anything in modern browsers (e.g., only checks if
Array.prototype.indexOf
is not defined natively, then defines it explicitly before using it). Your website must be quite perfect if these kind of things are what keep you busy. :)(I'm not of Cookie-Script staff, just another user.)