Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

help with Java script

$
0
0

Replies: 0

I know that cookie consent breaks with some javascript optimizers like autoptimize, fast velocity minify, wpsupercache and async javascript. Furthermore, it messes up the mobile menu. But I managed to get cookie consent to work with autoptimize and minify by excluding some scripts, as you suggested to a different poster.

currently I have excluded:
/wp-includes/js/jquery/jquery.js,
/cookielawinfo.js,
/wp-content/plugin/cookie-control/js/

I’d like to add wpsupercache but it seems to break the cookie consent bar.
I’m kind of in the dark here. Any suggestions?

Since adding the bar, my site has become really slow on pagespeed. Currently 61 and 77 for mobile and desktop respectively.


Viewing all articles
Browse latest Browse all 59525

Trending Articles