• Resolved fh24webup

    (@fh24webup)


    Hello, my problem relates to Borlabs 3.0.

    When I merge the JS files with autoptimize, the cookie banner no longer works. So this setting can no longer be used. Even if I exclude scripts there is almost no chance.

    • This topic was modified 12 months ago by fh24webup.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    no idea how borlabs 3.0 works, but maybe try not merging instead use “don’t aggregate but defer” + “also defer inline JS”?

    Thread Starter fh24webup

    (@fh24webup)

    I now use the setting, do not merge but delay.

    This works, but so I have 22 JS files running. Of course it would be better to combine them in terms of page speed.

    I just provoked the error on https://hedonistclub.com/. Here you get the following error message in the console: Uncaught TypeError: Cannot read properties of undefined (reading ‘contentBlockers’)
    at borlabs-cookie.min.js:1:450

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I assume Borlabs adds inline JS which I guess you’re also aggregating, so you’ll have to exclude the inline JS from being aggregated as well?

    That being said; combining JS does not necessarily yield better performance if you have “don’t merge but delay on” and if your site is on HTTP/2 (which these days almost all sites are)?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems with new Borlabs Cookies’ is closed to new replies.