Skip to content

Only consider external async/defer scripts#12

Merged
rviscomi merged 3 commits intomainfrom
rviscomi-patch-1
May 25, 2023
Merged

Only consider external async/defer scripts#12
rviscomi merged 3 commits intomainfrom
rviscomi-patch-1

Conversation

@rviscomi
Copy link
Owner

async and defer attributes on inline script blocks are no-ops and shouldn't be counted as async/defer scripts. Look for the src attribute to indicate that it's an external script.

@rviscomi rviscomi merged commit 7652825 into main May 25, 2023
@rviscomi rviscomi deleted the rviscomi-patch-1 branch May 25, 2023 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant