News for hackers. Stuff that matters.
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/
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:

http://code.google.com/apis/ajax/playground/

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
Re:Great tool for posting HTML/CSS/JS examples online by zalun on Tuesday February 22, 2011 @04:24AM (#2249312)
They use the same editor engine
Re:Great tool for posting HTML/CSS/JS examples online by zalun on Tuesday February 22, 2011 @04:20AM (#2249304)
We use different domain for displaying fiddles.