Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    You mean the analytics.js provided by Google? This is (aside from the comments in the code) already minified.

    If you mean that the JS file should be combined with other JS files, this is tricky, but I’m testing ways to make this possible.

    I managed to get this to work with Autoptimize, but again, it’s tricky and very prone to fatal errors.

    Thread Starter plittlefield

    (@plittlefield)

    Hello Daan,

    Thanks for replying so quickly.

    Yes, I mean the inline JS that is shown near the bottom of the source (I choose to put it in the footer).

    I too have had success with Autoptimize, it grabs all the other bits of inline code on the page and puts it in to a perfect scipt defer just before /html but it does not take your caos inline code.

    It’s not a big thing, I’m getting 99% on YSlow (gosh that took a lot!) but that dream of 100% would be nice to realise ??

    Other than that, your plugin is great and would like to buy you a beer?

    Cheers.

    Take care,

    Paully

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Hi Paully,

    I managed to make it work with autoptimize, checkout the source of my own site. Try doing a search (CTRL/CMD + F) for ‘analytics.js’. You’ll see that the inline code is gone.

    Try these settings in Autoptimize and in CAOS.

    Thank you for your offer! I used to accept donations, but since I recently moved to offering premium services and add-ons for CAOS, I decided it wouldn’t be polite to accept donations anymore :).

    One you might be interested in, though, is CAOS Super Stealth Upgrade. It enhances the Stealth Mode to bypass all Ad Blockers. If you’re interested, you can read more about it here.

    Thread Starter plittlefield

    (@plittlefield)

    Hi Daan,

    Boom… ‘Snippet Type: Asynchronous’ did the trick!

    view-source:https://www.normawinstone.com/

    You star… I shall go and buy the CAOS Super Stealth Upgrade as soon as possible ??

    Thank you so much.

    Regards,

    Paully

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    *blushes* ??

    Thanks!

    I should write an article about this. And I will soon. Thanks for your efforts to resolve this issue with me!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Feature Request – JavaScript Minification’ is closed to new replies.