(Function() {
var function = function () {
var iframe = document.getElementById (‘wpcom-iframe-b0cd4548a23309e8b408327c724f4dd1’)
if (iframe) {
iframe.onload = function () {
iframe.contentWindow.postMessage ({
‘msg_type’: ‘poll_size’,
‘frame_id’: ‘wpcom-iframe-b0cd4548a23309e8b408327c724f4dd1’
}, « https: / / embeds.nypost.com »);
}
}
// Adjust the iframe automatically
var funcSizeResponse = function (s) {
var origin = document.createElement (‘a’);
origin.href = e.origin;
// Check the origin of the message
if (’embeds.nypost.com’! == origin.host)
Return;
// Check that the message is in a format we expect
if (‘object’! == typeof e.data || undefined === e.data.msg_type)
Return;
Switch (e.data.msg_type) {
Case ‘survey size: answer’:
var iframe = document.getElementById (e.data._request.frame_id);
if (iframe && » === iframe.width)
iframe.width = ‘100%’;
if (iframe && » === iframe.height)
iframe.height = parseInt (e.data.height);
Return;
Default:
Return;
}
}
if (‘function’ === typeof window.addEventListener) {
window.addEventListener (‘Message’, funcSizeResponse, false);
} else if (‘function’ === typeof window.attachEvent) {
window.attachEvent (‘onmessage’, funcSizeResponse);
}
}
if (document.readyState === ‘complete’) {func.apply (); / * Compatible for infinite scrolling * /}
else if (document.addEventListener) {document.addEventListener (‘DOMContentLoaded’, func, false); }
else if (document.attachEvent) {document.attachEvent (‘onreadystatechange’, func); }
}) ();
Authorities are responding to a glider that reportedly crashed in the water off the coast of Jersey Thursday morning.
The glider crashed about a mile off the coast of Long Beach Island at around 11:30 a.m., Ocean County’s Sheriff Michael Mastronardy told The Post.
A spokesman said New Jersey state police supported the recovery but had no further information.
© 2021 NYP Holdings, Inc. All rights reserved
Terms of Use
Data protection
Your ad choices
Page index
Your California Privacy Rights
Don’t sell my personal information
Keywords: