Fortunately every browser made in the last 25 years supports keepalive. e.g. Firefox (and according the the reporter of this bug, Chrome) won't even let you disable it[0].
[0] https://bugzilla.mozilla.org/show_bug.cgi?id=879002