Navigator Objects:

navigator.appName

This object returns the name of the browser to the user.

navigator.userAgent

This object returns information about the platform the browser is running.

navigator.onLine

This object returns whether the browser is online or not.