[TYPO3-english] Remove all CSS from other extensions

Søren Madsen sma at science.au.dk
Thu Sep 23 14:57:32 CEST 2010


> If all extensions started using page.includeCSS.[key] it would be
> quite simple, by simple resetting the page.includeCSS array.
> 
> But as some uses page.headerData and others includes it by
> plugin.tx_something_DEFAULT_CSS_STYLE i don't really see a easy way
> out.
> 
> This is just a thought, and I have no idea if it's possible what so ever:
> 
> Remove all <link> and <style> tags from the HTML about to be rendered,
> by some hook. That will take some regexp and maybe there is another
> way much more simple?
> 
> Regards,
> 
> Søren Malling

Thank you Søren name brother :)

Yes - I think we need to so some post processing then. I need to do the same for javascript b.t.w. 

Hrmpf ... I wonder if Tidy could be used for something like this?

Regards,
Søren Madsen 



More information about the TYPO3-english mailing list