Some local edits to the https://github.com/devinrhode2/check-online Javascript library to make it customizable via an additional options object parameter. If ommitted, undefined, or null checkOnline defaults back to its current out-of-the-box behavior. Setting members of the options object allows override of AJAX query timeout period, and fine-grain manipulation of the query URL and arguments.
Snapshot of random work before proceeding with more checkOnline.