blob-popup.html (305B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <script> 4 opener.postMessage({ 5 potentially_trustworthy: location.protocol === "https:", 6 js_blob_url: URL.createObjectURL( 7 new Blob([`const message = "Hello World!"`], 8 {type: 'application/javascript'})), 9 }, "*"); 10 </script>