Retrieves the navigator object if it is available.
The navigator object if available, otherwise undefined.
Retrieves the navigator object if it is available.