News for hackers. Stuff that matters.
Re:Show HN: Password-protect a static HTML page by syphilis2 on Wednesday June 14, 2017 @03:04PM (#14555173)
It does not seem to work for me on multiple machines. I just get an incomplete HTML file that ends abruptly after the "border-top" CSS line. There is no closing semicolon to the line, the file just ends in the middle of the style element.

My input doesn't seem to matter, but I used:

<html><body>Hello</body></html>

Password: abcdefg

Re:Show HN: Password-protect a static HTML page by zokier on Wednesday June 14, 2017 @03:51PM (#14555544)
Welcome to the brave new world of web, "Optimized for IE5.5+" making a beautiful reincarnation with pages that only work with Chrome and silently fails on Firefox.
Re:Show HN: Password-protect a static HTML page by yoble on Wednesday June 14, 2017 @04:56PM (#14556051)
Thanks for the heads up - I'm reproducing it on firefox, I'll investigate asap.
Re:Show HN: Password-protect a static HTML page by chicob on Wednesday June 14, 2017 @03:22PM (#14555305)
Same here.

<head> is truncated.

Re:Show HN: Password-protect a static HTML page by torrey_braman on Wednesday June 14, 2017 @03:53PM (#14555560)
Retry it without the html tags
Re:Show HN: Password-protect a static HTML page by memco on Wednesday June 14, 2017 @04:07PM (#14555674)
If true, this is confusing because the placeholder text on the page is literally "<html><head>…" so they are encouraging a feature they don't support.
Re:Show HN: Password-protect a static HTML page by mlok on Wednesday June 14, 2017 @04:16PM (#14555753)
Still not working.
Re:Show HN: Password-protect a static HTML page by yoble on Wednesday June 14, 2017 @06:19PM (#14556571)
Thank you for the reports, @thread.

Firefox was escaping the downloaded data (loaded in a href attribute) differently than chrome, that problem should be solved now. Do let me know if you still experience issues.

Re:Show HN: Password-protect a static HTML page by chicob on Wednesday June 14, 2017 @07:18PM (#14556787)
Re:Show HN: Password-protect a static HTML page by chicob on Wednesday June 14, 2017 @07:23PM (#14556802)
I just updated Firefox to 54.0. It seems to work now!
Re:Show HN: Password-protect a static HTML page by mlok on Wednesday June 14, 2017 @04:14PM (#14555738)
Same here