It's possible that the browser logs its own messages automatically, without involving JavaScript calls to the Console API. There is no way to access those messages from the page content. However if intercepting calls to the Console API is enough, then as noted there are libraries that can do that.