Chrome 120 brings the solution with CloseWatcher, a new API for directly listening and responding to close requests.
北海道
東北
北関東
首都圏
甲信越
北陸
東海
近畿
山陰・山陽
四国
九州
沖縄