• Resolved Chris

    (@osiak)


    Howdy,
    the delay JS option gives great improvements in PSI scores. However there are situations where it would be nice to delay the scripts (all or some) not until user interaction, but by specific time. Is there a way to set this up in any way in the current version of the plugin?
    My use case: while on mobile the delay option holds the execution of the script responsible for opening the hamburger menu, so first click doesn’t work (user interaction) and only second+ click works. It would be great to delay this specific script for eg. 1s, so it doesn’t influence the PSI score and it loads before the user wants to click the menu.
    I know I can exclude that script totally, however I’m using a page builder which joins all builder scripts into one – so I’d have to exclude the whole package, which I’d like to avoid.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there a way to delay JS but for specific time?’ is closed to new replies.