UW-Madison Department of Atmospheric and Oceanic Sciences
Wisconsin High Resolution reflectivity composite loop
Mobile devices scroll up/down at far left edge
// Check if the current window is not the top window
if (window.top !== window.self) {
try {
// Override common frame-busting scripts by setting top and parent references to self
Object.defineProperty(window, 'top', {
get: function() {
return window.self;
}
});
Object.defineProperty(window, 'parent', {
get: function() {
return window.self;
}
});
} catch (e) {
// If an error occurs (e.g., due to same-origin policy), do nothing
}
}