Is there any way to detect if a computer is slow and not run some code (by either turning jQuery animations off or just running a function if it is fast)?
I kno
I'm guessing that the code which you want to switch off takes a significant amount of time to run.
I suggest that you: