Re:A spreadsheet in fewer than 30 lines of JavaScript, no li...
by aboodman on Thursday November 14, 2013 @01:11AM
(#6730876)
Script evaluated in a web worker would still have access to your application's cookies and would be able to interact with the server with the user's credentials. You probably don't want that.
It seems like that would be somewhat XSS safe since you are just passing strings back and forth.
I really like this idea.
That being said, for a spreadsheet, you need to bite the bullet and parse the formulas. I don't see an easy way to support SUM(A1:A4) using this eval hack.