NOTE: There will only be an "output" from this example when the browser shifts from online to offline.