v0.1.3 #56
regisphilibert
announced in
Announcements
v0.1.3
#56
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
More script control!
Before this release, every script tag printed by HUGE/Scripts was using
defer
andcrossorigin="anonymous"
. While this is a good practice and will be satisfactory for most use cases, it could break some. HUGE/Scripts keeps those as defaults but introduces settings to control them.Load strategy
User can now choose
defer
,async
ornone
to omit it.Crossorigin
User can choose any string or
none
to omit the attribute altogether.Attributes
Any script tag can now sport an infinite number of attributes
data-whatever="that"
.This can be useful to comply with certain libraries or overwrite the
type="text/javascript"
attribute pending client accepts GDPR or other privacy toggle.Check the Wiki's HUGE/Scripts page for more information.
What's Changed
Full Changelog: v0.1.2...v0.1.3
This discussion was created from the release v0.1.3.
Beta Was this translation helpful? Give feedback.
All reactions