{"version":"1.0","provider_name":"\u9999\u6e2f\u6d78\u4fe1\u4f1a\u795e\u5b66\u9662","provider_url":"https:\/\/www.hkbts.edu.hk\/zh_cn","author_name":"wordpress_admin","author_url":"https:\/\/www.hkbts.edu.hk\/zh_cn\/?p=author\/wordpress_admin\/","title":"\u514d\u8cac\u8072\u660e - \u9999\u6e2f\u6d78\u4fe1\u6703\u795e\u5b78\u9662","type":"rich","width":600,"height":338,"html":"<blockquote class=\"wp-embedded-content\" data-secret=\"WjylgkGbj7\"><a href=\"https:\/\/www.hkbts.edu.hk\/zh_cn\/disclaimer\/\">\u514d\u8d23\u58f0\u660e<\/a><\/blockquote><iframe sandbox=\"allow-scripts\" security=\"restricted\" src=\"https:\/\/www.hkbts.edu.hk\/zh_cn\/disclaimer\/embed\/#?secret=WjylgkGbj7\" width=\"600\" height=\"338\" title=\"\u300a \u514d\u8d23\u58f0\u660e\u300b\u2014\u9999\u6e2f\u6d78\u4fe1\u4f1a\u795e\u5b66\u9662\" data-secret=\"WjylgkGbj7\" 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.hkbts.edu.hk\/wp-includes\/js\/wp-embed.js\n<\/script>","description":"\u514d\u8cac\u8072\u660e \u5b78\u9662\u7121\u9808\u4e8b\u5148\u901a\u77e5\u800c\u53ef\u96a8\u6642\u4fee\u6539\u3001\u66f4\u65b0\u6216\u522a\u9664\u672c\u7db2\u7ad9\u7684\u5167\u5bb9\u548c\u4efb\u4f55\u90e8\u5206\u3002\u9664\u975e\u5f97\u5230\u5b78\u9662\u66f8\u9762\u540c\u610f\uff0c\u4e0d\u53ef\u5c07\u672c\u7db2\u7ad9\u7684\u4efb\u4f55\u90e8\u5206\u4fee\u6539\u3001\u8907\u88fd\u3001\u50b3\u9001\u53ca\u5206\u767c\u505a\u5546\u696d\u7528\u9014\u3002\u56e0\u8907\u88fd\u6216\u767c\u4f48\u6b64\u7db2\u7ad9\u7684\u8cc7\u8a0a\u800c\u5c0e\u81f4\u4efb\u4f55\u640d\u5931\u6216\u640d\u6bc0\uff0c\u5b78\u9662\u6982\u4e0d\u8ca0\u8cac\u3002 \u6b64\u8072\u660e\u5982\u4e2d\u3001\u82f1\u6587\u5169\u500b\u7248\u672c\u6709\u4efb\u4f55\u62b5\u89f8\u6216\u4e0d\u76f8\u7b26\u4e4b\u8655\uff0c\u61c9\u4ee5\u4e2d\u6587\u7248\u672c\u70ba\u6e96\u3002"}