Questions tagged [defer-js]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
173 views

Magento 2 - How to defer Recaptcha

I would like to add "defer" to this script line: <script type="text/javascript" async="" src="https://www.gstatic.com/recaptcha/releases/CdDdhZfPbLLrfYLBdThNS0-Y/...
user avatar
  • 403
0 votes
0 answers
79 views

How to defer CSS via layout xml?

I'm trying to defer a CSS file through default_head_blocks.xml. After reading through as much as possible on here - and across the internet - I came across an answer suggesting to add defer="...
user avatar
0 votes
0 answers
52 views

How can I add critical JS on Magento 2.3.3?

Magento 2.3.3 has "Move JS code to the bottom of the page" function which moves all JS code to bottom of the page. I need some JS code(Seal Verification Code which showing verification icon) not ...
user avatar