{"version":"1.0","provider_name":"\u54f2\u5b50\u6232 Philosophist\u2019s Camp","provider_url":"https:\/\/www.horace.org\/blog","author_name":"hevangel","author_url":"https:\/\/www.horace.org\/blog\/author\/hevangel-2\/","title":"Heavy Object \u91cd\u88dd\u6b66\u5668 - \u54f2\u5b50\u6232 Philosophist\u2019s Camp","type":"rich","width":600,"height":338,"html":"<blockquote class=\"wp-embedded-content\" data-secret=\"2dR51ejal0\"><a href=\"https:\/\/www.horace.org\/blog\/2016\/05\/24\/heavy-object-%e9%87%8d%e8%a3%9d%e6%ad%a6%e5%99%a8\/\">Heavy Object \u91cd\u88dd\u6b66\u5668<\/a><\/blockquote><iframe sandbox=\"allow-scripts\" security=\"restricted\" src=\"https:\/\/www.horace.org\/blog\/2016\/05\/24\/heavy-object-%e9%87%8d%e8%a3%9d%e6%ad%a6%e5%99%a8\/embed\/#?secret=2dR51ejal0\" width=\"600\" height=\"338\" title=\"&#8220;Heavy Object \u91cd\u88dd\u6b66\u5668&#8221; &#8212; \u54f2\u5b50\u6232 Philosophist\u2019s Camp\" data-secret=\"2dR51ejal0\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" class=\"wp-embedded-content\"><\/iframe><script>\n\/**\n * WordPress inline HTML embed\n *\n * @since 4.4.0\n * @output wp-includes\/js\/wp-embed.js\n *\n * Single line comments should not be used since they will break\n * the script when inlined in get_post_embed_html(), specifically\n * when the comments are not stripped out due to SCRIPT_DEBUG\n * being turned on.\n *\/\n(function ( window, document ) {\n\t'use strict';\n\n\t\/* Abort for ancient browsers. *\/\n\tif ( ! document.querySelector || ! window.addEventListener || typeof URL === 'undefined' ) {\n\t\treturn;\n\t}\n\n\t\/** @namespace wp *\/\n\twindow.wp = window.wp || {};\n\n\t\/* Abort if script was already executed. *\/\n\tif ( !! window.wp.receiveEmbedMessage ) {\n\t\treturn;\n\t}\n\n\t\/**\n\t * Receive embed message.\n\t *\n\t * @param {MessageEvent} e\n\t *\/\n\twindow.wp.receiveEmbedMessage = function( e ) {\n\t\tvar data = e.data;\n\n\t\t\/* Verify shape of message. *\/\n\t\tif (\n\t\t\t! ( data || data.secret || data.message || data.value ) ||\n\t\t\t\/[^a-zA-Z0-9]\/.test( data.secret )\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar iframes = document.querySelectorAll( 'iframe[data-secret=\"' + data.secret + '\"]' ),\n\t\t\tblockquotes = document.querySelectorAll( 'blockquote[data-secret=\"' + data.secret + '\"]' ),\n\t\t\tallowedProtocols = new RegExp( '^https?:$', 'i' ),\n\t\t\ti, source, height, sourceURL, targetURL;\n\n\t\tfor ( i = 0; i < blockquotes.length; i++ ) {\n\t\t\tblockquotes[ i ].style.display = 'none';\n\t\t}\n\n\t\tfor ( i = 0; i < iframes.length; i++ ) {\n\t\t\tsource = iframes[ i ];\n\n\t\t\tif ( e.source !== source.contentWindow ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tsource.removeAttribute( 'style' );\n\n\t\t\tif ( 'height' === data.message ) {\n\t\t\t\t\/* Resize the iframe on request. *\/\n\t\t\t\theight = parseInt( data.value, 10 );\n\t\t\t\tif ( height > 1000 ) {\n\t\t\t\t\theight = 1000;\n\t\t\t\t} else if ( ~~height < 200 ) {\n\t\t\t\t\theight = 200;\n\t\t\t\t}\n\n\t\t\t\tsource.height = height;\n\t\t\t} else if ( 'link' === data.message ) {\n\t\t\t\t\/* Link to a specific URL on request. *\/\n\t\t\t\tsourceURL = new URL( source.getAttribute( 'src' ) );\n\t\t\t\ttargetURL = new URL( data.value );\n\n\t\t\t\tif (\n\t\t\t\t\tallowedProtocols.test( targetURL.protocol ) &&\n\t\t\t\t\ttargetURL.host === sourceURL.host &&\n\t\t\t\t\tdocument.activeElement === source\n\t\t\t\t) {\n\t\t\t\t\twindow.top.location.href = data.value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\tfunction onLoad() {\n\t\tvar iframes = document.querySelectorAll( 'iframe.wp-embedded-content' ),\n\t\t\ti, source, secret;\n\n\t\tfor ( i = 0; i < iframes.length; i++ ) {\n\t\t\t\/** @var {IframeElement} *\/\n\t\t\tsource = iframes[ i ];\n\n\t\t\tsecret = source.getAttribute( 'data-secret' );\n\t\t\tif ( ! secret ) {\n\t\t\t\t\/* Add secret to iframe *\/\n\t\t\t\tsecret = Math.random().toString( 36 ).substring( 2, 12 );\n\t\t\t\tsource.src += '#?secret=' + secret;\n\t\t\t\tsource.setAttribute( 'data-secret', secret );\n\t\t\t}\n\n\t\t\t\/*\n\t\t\t * Let post embed window know that the parent is ready for receiving the height message, in case the iframe\n\t\t\t * loaded before wp-embed.js was loaded. When the ready message is received by the post embed window, the\n\t\t\t * window will then (re-)send the height message right away.\n\t\t\t *\/\n\t\t\tsource.contentWindow.postMessage( {\n\t\t\t\tmessage: 'ready',\n\t\t\t\tsecret: secret\n\t\t\t}, '*' );\n\t\t}\n\t}\n\n\twindow.addEventListener( 'message', window.wp.receiveEmbedMessage, false );\n\tdocument.addEventListener( 'DOMContentLoaded', onLoad, false );\n})( window, document );\n\/\/# sourceURL=https:\/\/www.horace.org\/blog\/wp-includes\/js\/wp-embed.js\n<\/script>\n","thumbnail_url":"https:\/\/i1.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2015\/12\/Heavy-Object.jpg?fit=440%2C640&ssl=1","thumbnail_width":440,"thumbnail_height":640,"description":"\u8acb\u8a8d\u8457\u938c\u6c60\u548c\u99ac\u9019\u500b\u4f5c\u8005\uff0c\u4ed6\u7684\u4efb\u4f55\u4f5c\u54c1\u6700\u597d\u8da8\u4e4b\u5247\u5409\uff0c\u4e0d\u7136\u53ea\u6703\u6d6a\u8cbb\u95a3\u4e0b\u7684\u5bf6\u8cb4\u6642\u9593\u3002\u300c\u91cd\u88dd\u6b66\u5668\u300d\u6539\u7bc7\u81ea\u938c\u6c60\u548c\u99ac\u7684\u8f15\u5c0f\u8aaa\uff0c\u8207\u4ed6\u53e6\u4e00\u5957\u4eba\u6c23\u4f5c\u54c1\u300c\u9b54\u6cd5\u7981\u66f8\u76ee\u9304\u300d\u6709\u8457\u76f8\u540c\u7684\u6bdb\u75c5\uff0c\u8868\u9762\u4e0a\u5f88\u6709\u8da3\u7684\u4e16\u754c\u8a2d\u5b9a\uff0c\u4eba\u7269\u89d2\u8272\u4ea6\u8a0e\u4eba\u559c\u611b\uff0c\u6bcf\u500b\u55ae\u5143\u5076\u6709\u7cbe\u5f69\u60c5\u7bc0\uff0c\u64c5\u9577\u800d\u5c0f\u8070\u660e\u73a9\u626d\u6a4b\uff0c\u53ef\u662f\u80cc\u5f8c\u537b\u5b8c\u5168\u7a7a\u6d1e\u7121\u7269\u3002\u4e0d\u77e5\u662f\u4ed6\u6c92\u6709\u99d5\u5fa1\u5b8f\u89c0\u683c\u5c40\u7684\u80fd\u529b\uff0c\u9084\u662f\u4ed6"}