So, if you open the inspector, you will get this (if you're out of luck):

I am creating a tiny JS component that displays debugging information - is there a way to read the number of errors and warnings detected so far?
The hacker solution that I could come up with is a bit of a hoax, replacing the console.(error|log|warn) functions with my own, but I have not yet verified whether it works in all cases (for example, outside my code).
Is there a better way to do this?
javascript google-chrome webkit frontend
maligree
source share