good-goodbye (npm): Easy way to determine beforeunload callbacks
Keywords: beforeunload|unload callbacks|javascript