Dear WPMU dev’s,
It would be very helpful to have many more controls when it comes to delaying javascript execution. Specifically when it comes to:
– Creating an include javascript box (as well as the current exclude js box). Often times you don’t want to delay EVERYTHING and then select a few exclusions, but rather the other way around – Exclude everything but select a few inclusions.
– Being able to select predefined checkboxes (i.e. Google Analytics, Tag Manager, common plugins etc)
– In the most amazing scenario the plugin would be able to analyse the website and display all loaded Javascript files (plus subfiles if they can be organised by parent).
In the documentation it would also be help to know:
– How can you locate all the relevant js URL’s when you’re trying to troubleshoot and delay specific scripts? More guidance on this as often I copy and paste URL’s from the sources panel in my web inspector, but it still doesn’t properly delay the right functionality.
Have a look at the Perfmatters plugin who are currently navigating this with more functionality and guidance: https://perfmatters.io/docs/delay-javascript/
Warm wishes,
Twan