Back to front pageView on Hacker News (opens in a new tab)Show HN: htmz – a low power tool for HTML (opens in a new tab)leanrada.com1020 pointsby Kalabasa (on Hacker News)2 years agoleanrada.com (opens in a new tab)htmz - a low power tool for htmlComments (242) 68 threadsShow all commentsShowing thread 23 of 68[-]h43z2 years ago1 reply#Here a version that works for cross origin requests. but website you are requesting has to embed the below script tag. just some other text You would still set the DOM destination on the main page. dog chatmasta2 years ago#Careful with that snippet, targetOrigin of * is dangerous. I could embed your iframed content on my own site and then you'd happily send me the entire HTML inside the iframe.
Show HN: htmz – a low power tool for HTML (opens in a new tab)leanrada.com1020 pointsby Kalabasa (on Hacker News)2 years ago
h43z2 years ago1 reply#Here a version that works for cross origin requests. but website you are requesting has to embed the below script tag. just some other text You would still set the DOM destination on the main page. dog
chatmasta2 years ago#Careful with that snippet, targetOrigin of * is dangerous. I could embed your iframed content on my own site and then you'd happily send me the entire HTML inside the iframe.
Comments (242) 68 threads
Show all comments
Showing thread 23 of 68