Parse domain from URL
Properly catch cross-domain iframes and emit enter and exit events for fullscreen on window object