• Resolved mealto

    (@mealto)


    With Core Web Vitals being important in May, Google Pagespeed is flagging jQuery blocking rendering. I have disable every plug and can confirm my last plugin is this one that still triggers jQuery. Are there plans to move to a non jQuery dependent version soon?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Design Extreme

    (@designextreme)

    @mealto I didn’t realise this was something to be concerned about… thanks for enlightening me about the jQuery issue.

    I will add something to the next version that will allow for disabling of the JavaScript (i.e. the /wp/js/js.js load) until there’s a proper resolution.

    Once this is available, I recommend writing your own JavaScript to fill in the gaps – the “Read more” link and a few other minor functionality points. It isn’t very much so it wouldn’t take long to make a substitute.

    Plugin Author Design Extreme

    (@designextreme)

    @mealto I am adding a new option to disable the loading of JavaScript (similar to the CSS) – in the options table you will need to add (or set):

    google_business_reviews_rating_javascript to: 0

    This will run from Version 3.31 onwards.

    In the meantime, I will look into a vanilla JavaScript version or maybe a hybrid…

    Do you think something like this would work within one included JavaScript file (and no jQuery dependency in the enqueue)?

    if (!window.jQuery)
    {
    	// Do some Vanilla stuff
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘jQuery’ is closed to new replies.