News for hackers. Stuff that matters.
Re:Show HN: Web pages stored entirely in the URL by dragonwriter on Sunday June 30, 2019 @01:31PM (#20319336)
> How are web pages shared? By distributing links.

Mostly, by distributing links on other web pages.

> How are pages censored? By deplatforming. This usually happens by activists targeting the host right in their cashflow.

This does not avoid that problem, since you still need (for effective reach) hosting for the links.

It also adds new problems, like the length limit most browsers impose on URLs limiting the size of content that can be shared by this method rather sharply.

Re:Show HN: Web pages stored entirely in the URL by c22 on Sunday June 30, 2019 @02:35PM (#20319669)
Also, some browsers (like chrome) consider data URLs hostile and limit them further. Awhile ago I was messing around with some tiny js decompression code I was stuffing into a data URL that let me get a bit more content into the payload, but chrome wouldn't run the scripts at all.
Re:Show HN: Web pages stored entirely in the URL by heavenlyblue on Sunday June 30, 2019 @06:48PM (#20321052)
This has got nothing to do with data URLs.
Re:Show HN: Web pages stored entirely in the URL by c22 on Sunday June 30, 2019 @09:04PM (#20321670)
I'm very confused by your comment. Can you add some context or clarification?
Re:Show HN: Web pages stored entirely in the URL by lemax on Sunday June 30, 2019 @02:43PM (#20319717)
The length limit is high in most browsers (100k chars) except for IE, which will eventually be killed by MS Edge on Chromium.
Re:Show HN: Web pages stored entirely in the URL by dragonwriter on Sunday June 30, 2019 @03:47PM (#20320104)
> The length limit is high in most browsers (100k chars)

Huh, I just saw a 2018 post on a Chrome support forum indicating that Chrome had the same 2083 char limit as IE...

Checking more deeply I've found more direct Chromium info indicating implying either no limit or a 2^31 character limit, with a 32kB display limit. So, yeah, the URL length limit may not be an issue.