Re:Great tool for posting HTML/CSS/JS examples online
by oniTony on Tuesday February 22, 2011 @01:05AM
(#2248963)
This seems pretty amazing, but I guess there's no way around letting users work on arbitrary JavaScript and XSS? http://jsfiddle.net/wk7sK/
[ Parent
| on HN ]
Re:Great tool for posting HTML/CSS/JS examples online
by mckoss on Tuesday February 22, 2011 @01:19AM
(#2248999)
They could put all executed code in a cookie-less domain, that way it can't access any private resources on your behalf (modulo XSS bugs on other sites). This is what the Google code playground does:
Re:Great tool for posting HTML/CSS/JS examples online
by cleverjake on Tuesday February 22, 2011 @01:29AM
(#2249016)
Man, I have never seen the code playground before. This makes using their APIs so much easier.
Thanks man