Exit Intent Popup in AMP?
问题 I've been asked to put an Exit Intent Popup on a site which has been written entirely as AMP-HTML (even for desktop users). This is fairly easy to implement in standard JS by listening to the mouseleave event. The amp-script compatibility table says that onmouseleave is not available yet for custom scripts. Just to be clear: Exit Intent Popups are in-page banners and do not disturb navigation or closing the tab , which make them friendlier than beforeunload messages. Also, this is not an amp