This mean-spirited Christmas prank is genius

( function() {
var func = function() {
var iframe_form = document.getElementById(‘wpcom-iframe-form-cfbfe92821d04bd2225cd3426932cbbf-54a2c59feaf62’);
var iframe = document.getElementById(‘wpcom-iframe-cfbfe92821d04bd2225cd3426932cbbf-54a2c59feaf62’);
if ( iframe_form && iframe ) {
iframe_form.submit();
iframe.onload = function() {
iframe.contentWindow.postMessage( {
‘msg_type’: ‘poll_size’,
‘frame_id’: ‘wpcom-iframe-cfbfe92821d04bd2225cd3426932cbbf-54a2c59feaf62’
}, window.location.protocol + ‘//wpcomwidgets.com’ );
}
}

// Autosize iframe
var funcSizeResponse = function( e ) {
var origin = document.createElement( ‘a’ );
origin.href = e.origin;

// Verify message origin
if ( ‘wpcomwidgets.com’ !== origin.host )
return;

// Verify message is in a format we expect
if ( ‘object’ !== typeof e.data || undefined === e.data.msg_type )
return;

switch ( e.data.msg_type ) {
case ‘poll_size:response’:
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(); /* compat for infinite scroll */ }
else if ( document.addEventListener ) { document.addEventListener( ‘DOMContentLoaded’, func, false ); }
else if ( document.attachEvent ) { document.attachEvent( ‘onreadystatechange’, func ); }
} )();

The obstacle of removing wrapping paper is an essential part of Christmas for any child especially eager to open their Christmas presents.

The more layers of paper, the better the present, right?

This video proves that perhaps that’s not quite the case, as a girl is filmed opening a present festooned with multiple layers of wrapping paper.

Initially, it seems like a decent gift as the girl opens a Vans shoe box, but the size of the present continually decreases.

Undeterred, she continues with a curious face, until she’s faced with the final layer of wrapping.

It turns out that she’s spent almost four and a half minutes unwrapping all for the sake of a paltry 25 cent coin.

It might be mean, but it’s absolutely genius.

Leave a Reply

Your email address will not be published. Required fields are marked *