Greasy Fork is available in English.

Background tab setTimeout muffler

Defers setTimeout calls if no user input has been received for 15 seconds. Useful for stopping background tabs from continuing to use CPU cycles.

Auteur
BinarySplit
Nombre d'installations quotidiennes
0
Nombre d'installations
173
Évaluations
3 0 0
Version
1
Créer
2014-06-12
Mis à jour
2014-06-12
Licence
S/O
S'applique à
Tous les sites

Defers setTimeout calls if no user input has been received for 15 seconds. Useful for stopping background tabs from continuing to use CPU cycles. Only tested on Firefox.

This only handles the most common classes of background tab CPU abuse. It's still possible to use XMLHttpRequests, requestAnimationFrame, browser plugins, and possibly other tricks to continue to use the CPU while in the background.