• Resolved testwp75

    (@testwp75)


    Please help to fix this issue caused by your plugin.

    View post on imgur.com


    => you will find domain name in the picture “meil…ion.com”

    `You are using too specific jQuery selectors which decrease the performance of your website: find out more . Here is an example of a good use of jQuery:

    $ (“.data table.firstClass td.secondClass”);
    // More efficient: remove the
    intermediate // selector if possible
    $ (“.data td.secondClass”);

    If possible, simplify the following selectors :

    $(‘.woocommerce-ordering .drop li a’)
    $ (‘. mobile-menu li .chevron’)
    $(‘.review-box .overall .percent’)

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    That JavaScript (those jQuery selectors) are not part of Autoptimize, but originate from the theme/ plugins JS that Autoptimize combines and minifies. Disable Autoptimize by adding ?ao_noptimize=1 to the URL and re-run the same test to see what plugin (or theme) those selectors originate from (spoiler: many seem to be from wp-content/themes/smart-mag/js/theme.js 😉 )?

    hope this helps,
    frank

Viewing 1 replies (of 1 total)

The topic ‘Avoid overly specific jQuery selectors’ is closed to new replies.