{"id":97,"date":"2025-05-14T21:56:56","date_gmt":"2025-05-14T21:56:56","guid":{"rendered":"https:\/\/ms-paint.rocks\/?page_id=97"},"modified":"2025-05-14T22:02:40","modified_gmt":"2025-05-14T22:02:40","slug":"test-of-blob-url-content","status":"publish","type":"page","link":"https:\/\/ms-paint.rocks\/?page_id=97","title":{"rendered":"Test of Blob URL content"},"content":{"rendered":"\n  <h1>Blob URL Content Below<\/h1>\n  <iframe id=\"blobFrame\" width=\"600\" height=\"400\"><\/iframe>\n\n  <script>\n    \/\/ Define the HTML content to be loaded via the blob URL\n    const htmlContent = `\n      <!DOCTYPE html>\n      <html lang=\"en\">\n      <head>\n        <meta charset=\"UTF-8\">\n        <title>Blob Content<\/title>\n      <\/head>\n      <body>\n        <h2>This content is loaded from a Blob URL<\/h2>\n        <p>Testing blob URL handling in the sandbox environment.<\/p>\n      <\/body>\n      <\/html>\n    `;\n\n    \/\/ Create a Blob object with the HTML content\n    const blob = new Blob([htmlContent], { type: 'text\/html' });\n\n    \/\/ Generate a blob URL from the Blob object\n    const blobURL = URL.createObjectURL(blob);\n\n    \/\/ Set the src of the iframe to the blob URL\n    document.getElementById('blobFrame').src = blobURL;\n\n    \/\/ Optional: Revoke the blob URL after a certain time to free up resources\n    setTimeout(() => {\n      URL.revokeObjectURL(blobURL);\n    }, 60000); \/\/ Revoke after 60 seconds\n  <\/script>\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>Blob URL Content Below<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":88,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-full-width-page.php","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-97","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ms-paint.rocks\/index.php?rest_route=\/wp\/v2\/pages\/97","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ms-paint.rocks\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ms-paint.rocks\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ms-paint.rocks\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ms-paint.rocks\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=97"}],"version-history":[{"count":2,"href":"https:\/\/ms-paint.rocks\/index.php?rest_route=\/wp\/v2\/pages\/97\/revisions"}],"predecessor-version":[{"id":100,"href":"https:\/\/ms-paint.rocks\/index.php?rest_route=\/wp\/v2\/pages\/97\/revisions\/100"}],"up":[{"embeddable":true,"href":"https:\/\/ms-paint.rocks\/index.php?rest_route=\/wp\/v2\/pages\/88"}],"wp:attachment":[{"href":"https:\/\/ms-paint.rocks\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}