• Resolved pierre1688

    (@pierre1688)


    Hi,
    I encountered a problem as this subject mentioned. After tested in the GTMetrix and PageSpeed Insights both, it showed [Avoid serving legacy JavaScript to modern browsers] this issue. And the symptom of this issue is [Array.prototype.includes].

    I attempt to disable Ad Inserter this plugin, this situation was gone!
    May I have your any advice to resolve this?

    <PS> WordPress version:5.8 / Ad Inserter:2.7.3 (no insert any Ad codes)
    Thanks for help in advance!

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

    (@spacetime)

    Hello,

    there is no issue and nothing to resolve.
    The plugin uses some Javascript code that works in most browsers used.

    There is nothing wrong with this code – it works fine in all browsers.

    Thread Starter pierre1688

    (@pierre1688)

    Hi, @spacetime
    I just make sure whether this issue won’t have any side effect about performance or else when this issue was highlighted on GTMetrix and PageSpeed Insights. Maybe it also happened on different test websites online!

    But I still got some confused, as your said, there is nothing wrong with this code, why they need to highlight?

    Sorry for any inconvenience!
    Thanks.

    Plugin Author Spacetime

    (@spacetime)

    No performance side effect.

    Maybe because they believe all peaople use the latest browsers.
    Unfortunately, they don’t.

    Thread Starter pierre1688

    (@pierre1688)

    Hi,
    I got your valuable point. Thanks for detailed explanation!

    Plugin Author Spacetime

    (@spacetime)

    🙂

    If you like the plugin I would be grateful if you could write a short review:
    https://ww.wp.xz.cn/support/plugin/ad-inserter/reviews/#new-post

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘About [Avoid serving legacy JavaScript to modern browsers] issue?’ is closed to new replies.