The sharing works just like here, by encoding the tab itself in the url.
Show HN: Minimalist editor that lives in browser, stores everything in the URL
41–50 of 172 posts
Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#42Per the spec [0], a URL can hold at least 8,000 characters. > It is RECOMMENDED that all senders and recipients support, at a minimum, URIs with lengths of 8000 octets in protocol elements. Note that this implies some structures and on-wire representations (for example, the request line in HTTP/1.1) will necessarily be larger in some cases. Mainstream browsers support at least 64,000 characters [1], and Chrome suppor…
Chrome limit is 2MB, Firefox is 1MB, WebKit is no limit. Here is the Crime and Punishment by Fyodor Dostoevsky: - https://medv.io/goto/crime-and-punishment-by-fyodor-dostoevs...
Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#43Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#44https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#45I made something similar once, specifically targetted for guitar tablature https://tabviewer.app/ To make links shorter for sharing with others, I use a shortlink service. Pasting URLs of thousands of characters long can be problematic
Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#46Can you make it monospace by default, so that this can be used as a code snippet bin?
Sure! textarea.my support custom style attr: https://textarea.my/#Ky4tSlVUyCotLlEoLUhJLElVKC6pzElVSCwpKWJ...
Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#47Per the spec [0], a URL can hold at least 8,000 characters. > It is RECOMMENDED that all senders and recipients support, at a minimum, URIs with lengths of 8000 octets in protocol elements. Note that this implies some structures and on-wire representations (for example, the request line in HTTP/1.1) will necessarily be larger in some cases. Mainstream browsers support at least 64,000 characters [1], and Chrome suppor…
It's truly insane how large typical share-URLS for content on instagram, youtube or any other large platforms are. URLs that could've been example.com/t/some-large-enough-id?time=13337 are stuffed with hundreds of characters, just to gather more data on people using these links.
Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#48Earlier quoted context omitted.
hash part of url only available in the browser, as far as I know, server doesn’t have access to # value
Typos and URL mangles are common though, and I'd still have no way to confirm if it got logged in that case. It's out of scope for anything in the github source, and instead depends on the server hosting the page. I know this isn't meant to be super secure, but it's still worth a mention.
Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#49Re: Show HN: Minimalist editor that lives in browser, stores everything in the URL
#50Can you save anything?
https://textarea.my/#i0wtBgA=