Detect if page being loaded in preview in Safari

Hello,

I'm working on extension for Safari iOS and I have an issue with link preview (when you long tap a URL a popup with preview appears). The problem is that content script loads in the preview popup, but there is no tab id (I suppose because there is no tab). So, my question: is it possible to detect if page is loaded within the preview popup. If so is that possible to catch the fact that popup turn into tab when user clicks preview.

Thanks!

Detect if page being loaded in preview in Safari
 
 
Q