結果 : javascript check if window exists