Code-Samples/javascript/60.1.html Window Navigator object is used to check if browser accepts cookies or not.