[TYPO3-50-general] disable javascript in backend

Aske Ertmann aske at moc.net
Tue Mar 5 09:49:08 CET 2013


Hey Piseth

I think you should be able to achieve that by wrapping the scripts tags you don't want in the backend with this:

<f:security.ifAccess resource="TYPO3_Neos_Backend_BackendController">
	<f:else>
		<script…>
	</f:else>
</f:security.ifAccess>

Haven't tried it out though, but worth a try. Another solution would be to check if the body tag has the t3-backend class in your JavaScript onload initialization.

Aske

On 05/03/2013, at 08.24, Piseth Sok wrote:

> Hi List,
> 
> How to disable some javascript of front end when we log in backend?
> 
> I want to improve speed in backend.
> 
> Any ideas?
> Thanks,
> Piseth
> _______________________________________________
> TYPO3-project-5_0-general mailing list
> TYPO3-project-5_0-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-5_0-general



More information about the TYPO3-project-5_0-general mailing list