This is the coolest website I've seen in a long time. Awesome idea. EDIT: one issue I'm running into is it's easy to accidentally write half-finished code that freezes my browser. It would be nice to have an option to only refresh the preview upon clicking some kind of button.
Dwitter – A social network for short JavaScript demos
51–60 of 74 posts
Re: Dwitter – A social network for short JavaScript demos
#52So I whipped up a standalone HTML page to use to develop Dwitter scripts without having to use their interface (which seems prone to crashing). Here's the source: https://gist.github.com/russellbeattie/ef27709f7c916ea54454c... and you can see it live on my site: http://www.russellbeattie.com/dwitterish.html Interestingly, I found that some scripts really don't like using eval(), so I modified the page to dynamically…
Re: Dwitter – A social network for short JavaScript demos
#53Re: Dwitter – A social network for short JavaScript demos
#54This is the coolest website I've seen in a long time. Awesome idea. EDIT: one issue I'm running into is it's easy to accidentally write half-finished code that freezes my browser. It would be nice to have an option to only refresh the preview upon clicking some kind of button.
Re: Dwitter – A social network for short JavaScript demos
#55Are they all in iframes?
Re: Dwitter – A social network for short JavaScript demos
#56This is really cool, but executing other people's javascript in a page makes me nervous. What sort of restrictions are in place to prevent malicious exploits?
Makes me quite nervous too. So far each dweet is run in a sandboxed iframe loaded from a separate subdomain. There are definitely things you can do, and I'm aware of some annoying ones. I'll just manually delete them at this point. Any security conscious person would view it with noscript and just read the javascript ;)
Re: Dwitter – A social network for short JavaScript demos
#57Oh fun, didn't expect to see my side-project here :) A few of my personal favorites: https://www.dwitter.net/d/90 https://www.dwitter.net/d/406 https://www.dwitter.net/d/433 https://www.dwitter.net/d/617
Re: Dwitter – A social network for short JavaScript demos
#58This is the coolest website I've seen in a long time. Awesome idea. EDIT: one issue I'm running into is it's easy to accidentally write half-finished code that freezes my browser. It would be nice to have an option to only refresh the preview upon clicking some kind of button.
Sorry about your lost dweet :( Accidental infinite loops while editing can be a pain. A "reload" button isn't a bad idea, or a "recover dweet draft" functionality.
Re: Dwitter – A social network for short JavaScript demos
#59So I whipped up a standalone HTML page to use to develop Dwitter scripts without having to use their interface (which seems prone to crashing). Here's the source: https://gist.github.com/russellbeattie/ef27709f7c916ea54454c... and you can see it live on my site: http://www.russellbeattie.com/dwitterish.html Interestingly, I found that some scripts really don't like using eval(), so I modified the page to dynamically…
Incidentally, this is where the "dwitter" name came from: "demos" as in the demoscene (https://en.wikipedia.org/wiki/Demoscene) and twitter.
Re: Dwitter – A social network for short JavaScript demos
#60Oh fun, didn't expect to see my side-project here :) A few of my personal favorites: https://www.dwitter.net/d/90 https://www.dwitter.net/d/406 https://www.dwitter.net/d/433 https://www.dwitter.net/d/617
Chrome 56, Windows 10.