So in that vein, I think the features you've listed are basically the last few good bits that haven't been adopted (or covered by frameworks) yet. But I suspect 1-3 are kind of the same problem - that HTML's never had a good container format.
More gear towards games though.
> 1. One file distribution.
> AFAICT HTML5 has no real ability to do this
We've had this since the 90s, in the form of MIME HTML (.mhtml) files. We also have data: URIs, another approach, which has better browser support.
Nobody ever bothers with this stuff, but it is there and very easy to do. You can literally just open an HTML file in IE, press Ctrl+S and save an MHTML one with all the assets bundled into one.
https://en.wikipedia.org/wiki/MHTML
https://en.wikipedia.org/wiki/Data_URI_scheme
> 2. Easy streaming
This can actually be done in HTML as well, if you execute your JS when the DOM's ready, rather than when the page has loaded. jQuery users have done a very weak form of this for years. Again, though, nobody seems to bother.
https://developer.mozilla.org/en-US/docs/Web/Events/DOMConte...
> 3. Not running when not visible
> HTML5 has no way to stop an animation when offscreen.
HTML5's had the ability to detect if the window is visible or active for a long time now, but nobody uses it.
https://developer.mozilla.org/en-US/docs/Web/Guide/User_expe...
> 4. Can copy to clipboard
Internet Explorer had this years ago, and you can do this with HTML5 too, it's now standard. Strangely, nobody uses it.
http://stackoverflow.com/a/30810322/736162
> And on top of that I can easily block flash. I can't block HTML5 so much :P
NoScript!
https://addons.mozilla.org/en-US/firefox/addon/noscript/?src...
There's been an open bug for 16 years :( [2] (and a counterpart for saving for 15: [3])
[0] https://tools.ietf.org/html/rfc2557
[1] https://tools.ietf.org/html/rfc2110
Not any web page, and not completely unusable, but it's getting worse every single day.
It makes me sick to see the open web perverted so badly. Web pages should be documents to be read, not programs to execute!
I really hope that you're not one one the people who are confused and upset that native mobile apps are replacing websites. If you want to know why web pages are becoming programs to execute, not documents to read, the answer is trivial: neither the content producers, nor the content consumers, are looking for web pages that are merely documents. They're looking for web pages that are programs. You want web sites to remain documents, but that doesn't meet (almost) anyone's needs.
Says who? Seriously.
Some things are better off as documents, sure, but having a secure and efficient way to run apps over the web has enabled a huge number of awesome things.
And exactly what is so non-open about it? HTML5, JS interpreters, and almost all of the major browser engines are all open-source.
Existing browser devs have been quite resistant to these suggestions.
Another approach: blocking advertising and annoyances hosts via /etc/hosts or dnsmasq. Latter will block entire domains. It also reads /etc/hosts.
What's wrong with using data URIs?
That said, Flash still has features that are missing from HTML5.
1. One file distribution.
AFAICT HTML5 has no real ability to do this
2. Easy streaming
I suppose you can break a HTML5 app into multiple files but with flash there's one file and it can start running the content of that file when only some small percentage of it has downloaded. And, it just magically happens or rather it's super easy to setup. Reproducing that in HTML5 is a huge chore.
3. Not running when not visible
HTML5 has no way to stop an animation when offscreen. If you have a requestAnimationFrame Canvas or WebGL or element based animation and your element is scrolled off the screen HTML5 will still execute your code. Flash will not. So, blogs aggregating flash content work. Blogs aggregating canvas/webgl content don't even exist or unlike flash each item needs to be on its own page. There are some workaround but they require you to modify all content where as Flash you can use 3rd party content and still get this.
4. Can copy to clipboard
Yes I know that's considered "unsafe" and yet nearly every website that needs that feature uses flash for it. Google Docs and GMail both use it even though Google's Chrome team claims they won't put the feature in HTML5 because it's unsafe. They need to make up their minds.
I'm sure people who are more familiar with flash can name more features they wish would make it to HTML5.
And on top of that I can easily block flash. I can't block HTML5 so much :P