What's the equivalent of mozPaintCount in Chrome?

In Firefox, mozPaintCount returns the number of times the current document has been drawn to the screen in this window. What is the equivalent property in Chrome? If Chrome doesn't give it directly, is there an alternative way to calculate it?

+3


source to share


1 answer


Could you elaborate on what exactly you want to do with this "amount of colors" if you can get it? There is no way to accurately simulate it, but if you just need a way to determine if the document is (by detecting more frequent "varnish count" updates), you can overlay the document on a transparent element that contains Flash. The player launches a small Flash application (swf) that tells its native frame rate per page via ExternalInterface.



+1


source







All Articles