Skip to content

(Joomla 4) Disable unwanted scripts in Frontend #32533

Discussion options

You must be logged in to vote

All assets loaded via Joomla AssetManager, can be disabled via AssetManager https://docs.joomla.org/J4.x:Web_Assets

Example for fontawesome style: $wa->disableStyle('fontawesome')
For core script : $wa->disableScript('core'), however there a high chance that it will be re-enabled by one of core feature, example if the document have a script options, translations, etc.

Replies: 3 comments 11 replies

Comment options

You must be logged in to vote
3 replies
@coolcat-creations
Comment options

@brianteeman
Comment options

@Chacapamac
Comment options

Comment options

You must be logged in to vote
4 replies
@coolcat-creations
Comment options

@Fedik
Comment options

Fedik Feb 26, 2021
Collaborator

@coolcat-creations
Comment options

@migors
Comment options

Answer selected by coolcat-creations
Comment options

You must be logged in to vote
4 replies
@brianteeman
Comment options

@drmenzelit
Comment options

@brianteeman
Comment options

@Fedik
Comment options

Fedik Feb 28, 2021
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants