jQuery beforeunload custom pop up window for leaving a page

后端 未结 3 1130
滥情空心
滥情空心 2020-12-03 06:53

Hi I would like to customize my pop up for leaving a page, is there any simple way to do that?

I am using simple jQuery

$(document).ready(function()          


        
3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-03 07:25

    https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload#Browser_compatibility

    its is not possible to have a custom popup see the link specified

提交回复
热议问题