Recent submissions

Comment · 11 years ago
Comment · 11 years ago
Comment · 11 years ago
"Native desktop" spotify is just a web app wrapped into an embedded Chromium browser.
Comment · 11 years ago
You can't, there was a bug in my code when run on firefox fullscreen.

Formatting options would be nice, for now you can copy some text from an external HTML document and it will preserve the formatting. You can then edit this text.

Comment · 11 years ago
Fixed it with *{background: white;}, strangely enough.
Comment · 11 years ago
I cannot for the life of me figure out how to fix this. Maybe someone here knows. I define the fullscreen bg color:

    bg:fullscreen, bg:-webkit-full-screen, bg:-moz-full-screen {
      background-color: rgba(255,255,255,0);
    }
But it does not get respected
Comment · 11 years ago
Added a cmd-S to save to txt.
Comment · 11 years ago
It's a Safari bug unfortunately.

https://medium.com/adventures-in-consumer-technology/allow-k...

Seems like the best recourse is to disable the feature in Safari. Bummer.

Comment · 11 years ago
Comment · 11 years ago
Silly bug. Should be fixed now, with a .focus() call.
Comment · 11 years ago
Yeah right now there is only saving as the browser allows (print to PDF is another way). I'll add support for saving as a .txt on cmd-S through HTML5 download API in a bit.
Comment · 11 years ago
Comment · 11 years ago
wakes up 10 hours later to find this on HN homepage

Sorry, originally I had some functionality so that changing URL hash gives you a new file. At some point I switched this to using location.pathname and broke it. Let me add it back :)

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton